CloudFileShare Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CloudFileShare(Uri) |
Initializes a new instance of the CloudFileShare class. |
CloudFileShare(StorageUri, StorageCredentials) |
Initializes a new instance of the CloudFileShare class. |
CloudFileShare(Uri, StorageCredentials) |
Initializes a new instance of the CloudFileShare class. |
CloudFileShare(StorageUri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudFileShare class. |
CloudFileShare(Uri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudFileShare class. |
CloudFileShare(Uri)
Initializes a new instance of the CloudFileShare class.
public CloudFileShare (Uri shareAddress);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri)
Parameters
- shareAddress
- Uri
The absolute URI to the share.
Applies to
CloudFileShare(StorageUri, StorageCredentials)
Initializes a new instance of the CloudFileShare class.
public CloudFileShare (Microsoft.Azure.Storage.StorageUri shareAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Microsoft.Azure.Storage.StorageUri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As StorageUri, credentials As StorageCredentials)
Parameters
- shareAddress
- StorageUri
The absolute URI to the share.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudFileShare(Uri, StorageCredentials)
Initializes a new instance of the CloudFileShare class.
public CloudFileShare (Uri shareAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri, credentials As StorageCredentials)
Parameters
- shareAddress
- Uri
The absolute URI to the share.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudFileShare(StorageUri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudFileShare class.
public CloudFileShare (Microsoft.Azure.Storage.StorageUri shareAddress, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As StorageUri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
Parameters
- shareAddress
- StorageUri
The absolute URI to the share.
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the share is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudFileShare(Uri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudFileShare class.
public CloudFileShare (Uri shareAddress, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.File.CloudFileShare : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.File.CloudFileShare
Public Sub New (shareAddress As Uri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
Parameters
- shareAddress
- Uri
The absolute URI to the share.
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the share is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.