你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LocalFilesStorageResourceProvider.FromDirectory(String) 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.
Creates a storage resource to the directory at the given path.
public static Azure.Storage.DataMovement.StorageResourceContainer FromDirectory(string directoryPath);
public Azure.Storage.DataMovement.StorageResourceContainer FromDirectory(string directoryPath);
static member FromDirectory : string -> Azure.Storage.DataMovement.StorageResourceContainer
member this.FromDirectory : string -> Azure.Storage.DataMovement.StorageResourceContainer
Public Shared Function FromDirectory (directoryPath As String) As StorageResourceContainer
Public Function FromDirectory (directoryPath As String) As StorageResourceContainer
Parameters
- directoryPath
- String
Path to the directory.
Returns
Storage resource to this directory.