[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.]
Initializes a new instance of the
StorageCredentialsAccountAndKey class, using the storage account name and access key.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
Visual Basic |
---|
Dim accountName As String
Dim key As Byte()
Dim instance As New StorageCredentialsAccountAndKey(accountName, key) |
Syntax
Visual Basic |
---|
Public Sub New ( _
accountName As String, _
key As Byte() _
) |
C# |
---|
public StorageCredentialsAccountAndKey (
string accountName,
byte[] key
) |
C++ |
---|
public:
StorageCredentialsAccountAndKey (
String^ accountName,
array<unsigned char>^ key
) |
Parameters
- accountName
Type: System.String
The name of the storage account.
- key
The account access key, as an array of bytes.
Platforms
See Also