StorageCredentials Constructors

Definition

Overloads

StorageCredentials()

Initializes a new instance of the StorageCredentials class.

StorageCredentials(String)

Initializes a new instance of the StorageCredentials class with the specified shared access signature token.

StorageCredentials(String, String)

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

StorageCredentials(String, String, String)

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

StorageCredentials()

Initializes a new instance of the StorageCredentials class.

public StorageCredentials ();
Public Sub New ()

Applies to

StorageCredentials(String)

Initializes a new instance of the StorageCredentials class with the specified shared access signature token.

public StorageCredentials (string sasToken);
new Microsoft.Azure.Cosmos.Table.StorageCredentials : string -> Microsoft.Azure.Cosmos.Table.StorageCredentials
Public Sub New (sasToken As String)

Parameters

sasToken
String

A string representing the shared access signature token.

Applies to

StorageCredentials(String, String)

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

public StorageCredentials (string accountName, string keyValue);
new Microsoft.Azure.Cosmos.Table.StorageCredentials : string * string -> Microsoft.Azure.Cosmos.Table.StorageCredentials
Public Sub New (accountName As String, keyValue As String)

Parameters

accountName
String

A string that represents the name of the storage account.

keyValue
String

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

Applies to

StorageCredentials(String, String, String)

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

public StorageCredentials (string accountName, string keyValue, string keyName);
new Microsoft.Azure.Cosmos.Table.StorageCredentials : string * string * string -> Microsoft.Azure.Cosmos.Table.StorageCredentials
Public Sub New (accountName As String, keyValue As String, keyName As String)

Parameters

accountName
String

A string that represents the name of the storage account.

keyValue
String

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

keyName
String

A string that represents the name of the key.

Applies to