Initializes a new instance of the
StorageCredentials class with the specified account name and key value.
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 instance As New StorageCredentials(accountName, keyValue) |
Syntax
Visual Basic |
---|
Public Sub New ( _
accountName As String, _
keyValue As String _
) |
C# |
---|
public StorageCredentials (
string accountName,
string keyValue
) |
C++ |
---|
public:
StorageCredentials (
String^ accountName,
String^ keyValue
) |
J# |
---|
public StorageCredentials (
String accountName,
String keyValue
) |
JScript |
---|
public function StorageCredentials (
accountName : String,
keyValue : String
) |
Parameters
- accountName
A string that represents the name of the storage account.
- keyValue
A string that represents the Base64-encoded account access key.
Remarks
Platforms
See Also