CloudStorageAccount.DevelopmentStorageAccount Property

Storage Client Library NET API

[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

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.


Thread Safety

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

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Change History

See Also