CloudStorageAccount.DevelopmentStorageAccount Property
From Storage Client Library NET API
Gets a CloudStorageAccount object that references the development storage account.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
| Visual Basic |
|---|
Dim value As CloudStorageAccount value = CloudStorageAccount.DevelopmentStorageAccount |
Syntax
| Visual Basic |
|---|
Public Shared ReadOnly Property DevelopmentStorageAccount As CloudStorageAccount |
| C# |
|---|
public static CloudStorageAccount DevelopmentStorageAccount { get; } |
| C++ |
|---|
public: static property CloudStorageAccount^ DevelopmentStorageAccount { CloudStorageAccount^ get (); } |
| J# |
|---|
| JScript |
|---|
Property Value
Type: Microsoft.WindowsAzure.CloudStorageAccount
A reference to the development storage account.
Remarks
| Important |
|---|
| Before running code that references this property, be sure that you are running the Windows Azure storage emulator in your local development environment. |
This property is useful when you are writing code that will access only development storage. However, you should not use this property in code that you deploy to Windows Azure, as the development storage account is not available in Windows Azure.
If you will want to switch your code from running against development storage to running against a Windows Azure storage account, consider using a connection string instead. You can quickly update the values in a connection string. For details on creating connection strings, see How to Configure Connection Strings.