Click or drag to resize

TransferManagerUploadDirectoryAsync Method (String, CloudBlobDirectory)

Upload a directory to 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> UploadDirectoryAsync(
	string sourcePath,
	CloudBlobDirectory destBlobDir
)

Parameters

sourcePath
Type: SystemString
Path to the source directory
destBlobDir
Type: CloudBlobDirectory
The CloudBlobDirectory that is the destination Azure blob directory.

Return Value

Type: TaskTransferStatus
A TaskTResult object of type TransferStatus that represents the asynchronous operation.
See Also