TransferManagerDownloadDirectoryAsync Method (CloudFileDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext) |
Download an Azure file directory from Azure File Storage.
Namespace:
Microsoft.Azure.Storage.DataMovement
Assembly:
Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax public static Task<TransferStatus> DownloadDirectoryAsync(
CloudFileDirectory sourceFileDir,
string destPath,
DownloadDirectoryOptions options,
DirectoryTransferContext context
)
Public Shared Function DownloadDirectoryAsync (
sourceFileDir As CloudFileDirectory,
destPath As String,
options As DownloadDirectoryOptions,
context As DirectoryTransferContext
) As Task(Of TransferStatus)
public:
static Task<TransferStatus^>^ DownloadDirectoryAsync(
CloudFileDirectory^ sourceFileDir,
String^ destPath,
DownloadDirectoryOptions^ options,
DirectoryTransferContext^ context
)
static member DownloadDirectoryAsync :
sourceFileDir : CloudFileDirectory *
destPath : string *
options : DownloadDirectoryOptions *
context : DirectoryTransferContext -> Task<TransferStatus>
Parameters
- sourceFileDir
- Type: CloudFileDirectory
The CloudFileDirectory that is the source Azure file directory. - destPath
- Type: SystemString
Path to the destination directory - options
- Type: Microsoft.Azure.Storage.DataMovementDownloadDirectoryOptions
A DownloadDirectoryOptions object that specifies additional options for the operation. - context
- Type: Microsoft.Azure.Storage.DataMovementDirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
Return Value
Type:
TaskTransferStatusA
TaskTResult object of type
TransferStatus that represents the asynchronous operation.
See Also