This documentation is archived and is not being maintained.
Workspace::PendRename Method (String, String, LockLevel, Boolean, Boolean, Boolean)
Visual Studio 2013
Moves or renames a file or directory.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: int PendRename( String^ oldPath, String^ newPath, LockLevel lockLevel, bool updateDisk, bool detectFolderAtTarget, bool silent )
Parameters
- oldPath
- Type: System::String
The current path to the item that is being renamed.
- newPath
- Type: System::String
The new path for the item.
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
The level of locking for the pending change.
- updateDisk
- Type: System::Boolean
True to update the local disk according to the pending changes. False to preview the number of items that were changed but not modify the disk.
- detectFolderAtTarget
- Type: System::Boolean
True to search for a local folder that exists at the target and notify the server. False not to search.
- silent
- Type: System::Boolean
Specifies whether the server should return Get operations.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: