SALES: 1-800-867-1380

CloudStorageAccount.DevelopmentStorageAccount Property

Updated: September 24, 2013

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

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 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, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft