FileSystemOperationsExtensions.Rename Method

Definition

Rename a file or directory.

public static Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult Rename (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string renameFilePath, string destination);
public static Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult Rename (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, string destination);
static member Rename : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string -> Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult
static member Rename : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string -> Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult
<Extension()>
Public Function Rename (operations As IFileSystemOperations, accountName As String, renameFilePath As String, destination As String) As FileOperationResult
<Extension()>
Public Function Rename (operations As IFileSystemOperations, accountName As String, path As String, destination As String) As FileOperationResult

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

renameFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory to move/rename.

destination
String

The path to move/rename the file or folder to

Returns

Applies to