StorageCredentials Constructor (String, SecureString)

Instantiates this object.

Namespace: Microsoft.Azure.Batch.FileStaging
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Usage

'Usage
Dim storageAccount As String
Dim storageAccountKey As SecureString

Dim instance As New StorageCredentials(storageAccount, storageAccountKey)

Syntax

'Declaration
Public Sub New ( _
    storageAccount As String, _
    storageAccountKey As SecureString _
)
public StorageCredentials (
    string storageAccount,
    SecureString storageAccountKey
)
public:
StorageCredentials (
    String^ storageAccount, 
    SecureString^ storageAccountKey
)
public StorageCredentials (
    String storageAccount, 
    SecureString storageAccountKey
)
public function StorageCredentials (
    storageAccount : String, 
    storageAccountKey : SecureString
)

Parameters

  • storageAccount
    Specifies the Storeage Account to be used.
  • storageAccountKey
    Specifies the Storage Account key to be used.

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

Reference

StorageCredentials Class
StorageCredentials Members
Microsoft.Azure.Batch.FileStaging Namespace