C#
C++
F#
VB
CloudStorageAccount Constructor (StorageCredentials, Boolean)(StorageCredentials^, Boolean)(StorageCredentials, Boolean)(StorageCredentials, Boolean)
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.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Parameters
- storageCredentials
-
Type:
Microsoft.WindowsAzure.Storage.Auth.StorageCredentialsMicrosoft.WindowsAzure.Storage.Auth::StorageCredentials^Microsoft.WindowsAzure.Storage.Auth.StorageCredentialsMicrosoft.WindowsAzure.Storage.Auth.StorageCredentials
A StorageCredentials object.
- useHttps
-
Type:
System.BooleanSystem::BooleanSystem.BooleanSystem.Boolean
true to use HTTPS to connect to storage service endpoints; otherwise, false.
Remarks
Using HTTPS to connect to the storage services is recommended.
See Also
CloudStorageAccount Overload
CloudStorageAccount Class
Microsoft.WindowsAzure.Storage Namespace