Partager via


DataLakeStoreFileSystemClient.RenameFileOrDirectory Method

Definition

Renames a file or directory

public bool RenameFileOrDirectory (string sourcePath, string accountName, string destinationPath);
member this.RenameFileOrDirectory : string * string * string -> bool
Public Function RenameFileOrDirectory (sourcePath As String, accountName As String, destinationPath As String) As Boolean

Parameters

sourcePath
String

Source Path

accountName
String

Account name

destinationPath
String

Destination path

Returns

True if rename is successful else fale

Applies to