TransferManagerUploadDirectoryAsync Method (String, CloudFileDirectory) |
Upload a directory to 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> UploadDirectoryAsync(
string sourcePath,
CloudFileDirectory destFileDir
)
Public Shared Function UploadDirectoryAsync (
sourcePath As String,
destFileDir As CloudFileDirectory
) As Task(Of TransferStatus)
public:
static Task<TransferStatus^>^ UploadDirectoryAsync(
String^ sourcePath,
CloudFileDirectory^ destFileDir
)
static member UploadDirectoryAsync :
sourcePath : string *
destFileDir : CloudFileDirectory -> Task<TransferStatus>
Parameters
- sourcePath
- Type: SystemString
Path to the source directory - destFileDir
- Type: CloudFileDirectory
The CloudFileDirectory that is the destination Azure file directory.
Return Value
Type:
TaskTransferStatusA
TaskTResult object of type
TransferStatus that represents the asynchronous operation.
See Also