Share via


VersionControlServer.CreateWorkspace Method

Include Protected Members
Include Inherited Members

Creates a new workspace.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

CreateWorkspace(String)

Creates a new workspace. The calling identity must have CreateWorkspace global permission. The comment is empty, the computer attribute is the current machine, and the workspace owner is the current user. The new workspace is empty: it has no folder mappings, which must be added later with the workspace Update method.

Public method

CreateWorkspace(String, String)

Creates a new workspace. The calling identity must have CreateWorkspace global permission. The comment is empty and the computer attribute is the current machine. The new workspace is empty: it has no folder mappings, which must be added later with the workspace Update method.

Public method

CreateWorkspace(String, String, String)

Creates a new workspace. The calling identity must have CreateWorkspace global permission. The computer attribute is the current machine. The new workspace is empty: it has no folder mappings, which must be added later with the workspace Update method.

Public method

CreateWorkspace(String, String, String, array<WorkingFolder[])

Creates a new workspace. The calling identity must have CreateWorkspace global permission. The computer attribute is the current machine. If you attempt to cloak a folder which is not actually mapped anywhere, an exception will occur: you can avoid this exception by using the overload method with fixMappingErrors.

Public method

CreateWorkspace(String, String, String, array<WorkingFolder[], String)

Creates a new workspace. The calling identity must have CreateWorkspace global permission. If you attempt to cloak a folder which is not actually mapped anywhere, an exception will occur: you can avoid this exception by using the overload method with fixMappingErrors.

Top

See Also

Reference

VersionControlServer Class

VersionControlServer Members

Microsoft.TeamFoundation.VersionControl.Client Namespace