This documentation is archived and is not being maintained.
VersionControlServer::CreateWorkspace Method (String, String, String, array<WorkingFolder>, String, Boolean)
Visual Studio 2013
Creates a new Workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: Workspace^ CreateWorkspace( String^ name, String^ owner, String^ comment, array<WorkingFolder^>^ mappings, String^ computer, bool removeUnparentedCloaks )
Parameters
- name
- Type: System::String
The name of the Workspace to create. Must be unique for this owner.
- owner
- Type: System::String
The owner of the Workspace to create.
- comment
- Type: System::String
A descriptive comment for the Workspace.
- mappings
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkingFolder>
An array of working folders to establish for the Workspace.
- computer
- Type: System::String
The computer where the Workspace will exist.
- removeUnparentedCloaks
- Type: System::Boolean
When true, will remove mapping errors that can be safely ignored.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::WorkspaceThe newly created Workspace object.
- 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: