Sdílet prostřednictvím


ShareFilesStorageResourceProvider.FromDirectory Method

Definition

Creates a storage resource pointing towards the given container URI.

public Azure.Storage.DataMovement.StorageResource FromDirectory (Uri directoryUri, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromDirectory : Uri * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromDirectory (directoryUri As Uri, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource

Parameters

directoryUri
Uri

Target location.

options
ShareFileStorageResourceOptions

Options for creating the storage resource.

Returns

The configured storage resource.

Applies to