2 out of 2 rated this helpful - Rate this topic

CloudStorageAccount.DevelopmentStorageAccount Property

Gets a CloudStorageAccount object that references the development storage account.

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
'Usage
Dim value As CloudStorageAccount

value = CloudStorageAccount.DevelopmentStorageAccount

public static CloudStorageAccount DevelopmentStorageAccount { get; }
/** @property */
public static CloudStorageAccount get_DevelopmentStorageAccount ()

public static function get DevelopmentStorageAccount () : CloudStorageAccount

Property Value

Type: Microsoft.WindowsAzure.CloudStorageAccount

A reference to the development storage account.
ImportantImportant
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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ