ShareFilesStorageResourceProvider.FromClient Method
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
FromClient(ShareDirectoryClient, ShareFileStorageResourceOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(ShareFileClient, ShareFileStorageResourceOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(ShareDirectoryClient, ShareFileStorageResourceOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Files.Shares.ShareDirectoryClient client, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromClient : Azure.Storage.Files.Shares.ShareDirectoryClient * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromClient (client As ShareDirectoryClient, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource
Parameters
- client
- ShareDirectoryClient
Target resource presented within an Azure SDK client.
- options
- ShareFileStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
FromClient(ShareFileClient, ShareFileStorageResourceOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Files.Shares.ShareFileClient client, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromClient : Azure.Storage.Files.Shares.ShareFileClient * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromClient (client As ShareFileClient, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource
Parameters
- client
- ShareFileClient
Target resource presented within an Azure SDK client.
- options
- ShareFileStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.