Click or drag to resize

TransferManagerDownloadDirectoryAsync Method (CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext)

Download an Azure blob directory from Azure Blob 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(
	CloudBlobDirectory sourceBlobDir,
	string destPath,
	DownloadDirectoryOptions options,
	DirectoryTransferContext context
)

Parameters

sourceBlobDir
Type: CloudBlobDirectory
The CloudBlobDirectory that is the source Azure blob 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: TaskTransferStatus
A TaskTResult object of type TransferStatus that represents the asynchronous operation.
See Also