StorageCredentials Constructor (String, String, String)

Windows Runtime Azure Storage Client Library

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

Namespace: Microsoft.WindowsAzure.Storage.Auth
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim accountName As String
Dim keyValue As String
Dim keyName As String

Dim instance As New StorageCredentials(accountName, keyValue, keyName)

Syntax

Visual Basic
Public Sub New ( _
	accountName As String, _
	keyValue As String, _
	keyName As String _
)
C#
public StorageCredentials (
	string accountName,
	string keyValue,
	string keyName
)
C++
public:
StorageCredentials (
	String^ accountName, 
	String^ keyValue, 
	String^ keyName
)
J#
public StorageCredentials (
	String accountName, 
	String keyValue, 
	String keyName
)
JScript
public function StorageCredentials (
	accountName : String, 
	keyValue : String, 
	keyName : String
)

Parameters

accountName

A string that represents the name of the storage account.

keyValue

A string that represents the Base64-encoded account access key.

keyName

A string that represents the name of the key.

Remarks


Platforms

Development Platforms

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

Target Platforms

See Also