IFileSystemOperations.SetReplicationAsync Method (String, String, Nullable<Int16>, CancellationToken)
Sets the value of the replication factor.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
Task<FileOperationResultResponse> SetReplicationAsync(
string sourcePath,
string accountName,
Nullable<short> replication,
CancellationToken cancellationToken
)
Task<FileOperationResultResponse^>^ SetReplicationAsync(
String^ sourcePath,
String^ accountName,
Nullable<short> replication,
CancellationToken cancellationToken
)
abstract SetReplicationAsync :
sourcePath:string *
accountName:string *
replication:Nullable<int16> *
cancellationToken:CancellationToken -> Task<FileOperationResultResponse>
Function SetReplicationAsync (
sourcePath As String,
accountName As String,
replication As Nullable(Of Short),
cancellationToken As CancellationToken
) As Task(Of FileOperationResultResponse)
Parameters
sourcePath
Type: System.StringThe path to the directory or file to create a replication of.
accountName
Type: System.StringThe name of the account to use
replication
Type: System.Nullable<Int16>The number of replications of a file.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<FileOperationResultResponse>
The result of the request or operation.
See Also
IFileSystemOperations Interface
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top