This documentation is archived and is not being maintained.
Workspace::PendBranch Method (String, String, VersionSpec)
Visual Studio 2013
Schedules a file or folder for branching.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: int PendBranch( String^ sourcePath, String^ targetPath, VersionSpec^ version )
Parameters
- sourcePath
- Type: System::String
The path of the item to branch.
- targetPath
- Type: System::String
The location of the branch that will be created.
- version
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
The version of the source item to branch.
- 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: