Initializes a new instance of the
CloudStorageAccount class using the specified credentials and endpoint suffix, 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 endpointSuffix As String
Dim useHttps As Boolean
Dim instance As New CloudStorageAccount(storageCredentials, endpointSuffix, useHttps) |
Syntax
Visual Basic |
---|
Public Sub New ( _
storageCredentials As StorageCredentials, _
endpointSuffix As String, _
useHttps As Boolean _
) |
C# |
---|
public CloudStorageAccount (
StorageCredentials storageCredentials,
string endpointSuffix,
bool useHttps
) |
C++ |
---|
public:
CloudStorageAccount (
StorageCredentials^ storageCredentials,
String^ endpointSuffix,
bool useHttps
) |
J# |
---|
public CloudStorageAccount (
StorageCredentials storageCredentials,
String endpointSuffix,
boolean useHttps
) |
JScript |
---|
public function CloudStorageAccount (
storageCredentials : StorageCredentials,
endpointSuffix : String,
useHttps : boolean
) |
Parameters
- storageCredentials
A StorageCredentials object.
- endpointSuffix
The DNS endpoint suffix for all storage services, e.g. "core.windows.net".
- useHttps
true
to use HTTPS to connect to storage service endpoints; otherwise, false
.
Remarks
Platforms
See Also