This method is effective only if item uploading is not started yet, i.e. Status is Pending and if Reject(String) method is not already called. If ConfirmReplace(String, DateTime, Int64, String) method was called before, this method will reset it.
This method can be called inside Uploading event handler and BeginQueue(UploadQueue, IEnumerableUploadItem) method.
public void Rename(
string newFileName,
bool keepRelativePath = true,
bool updateOnClient = true
)
Public Sub Rename (
newFileName As String,
Optional keepRelativePath As Boolean = true,
Optional updateOnClient As Boolean = true
)