Initializes a new instance of the
CloudStorageAccount class using the specified credentials, and specifies whether to use HTTP or HTTPS to connect to the storage services.
Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim storageCredentials As StorageCredentials
Dim useHttps As Boolean
Dim instance As New CloudStorageAccount(storageCredentials, useHttps) |
Syntax
Visual Basic |
---|
Public Sub New ( _
storageCredentials As StorageCredentials, _
useHttps As Boolean _
) |
C# |
---|
public CloudStorageAccount (
StorageCredentials storageCredentials,
bool useHttps
) |
C++ |
---|
public:
CloudStorageAccount (
StorageCredentials^ storageCredentials,
bool useHttps
) |
J# |
---|
public CloudStorageAccount (
StorageCredentials storageCredentials,
boolean useHttps
) |
JScript |
---|
public function CloudStorageAccount (
storageCredentials : StorageCredentials,
useHttps : boolean
) |
Parameters
- storageCredentials
A StorageCredentials object.
- useHttps
true
to use HTTPS to connect to storage service endpoints; otherwise, false
.
Remarks
Platforms
See Also