Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VersionControlServer.CreateWorkspace Method (String, String)

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
)

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.

The calling identity must have the CreateWorkspace global permission. The comment is empty, the computer attribute is defaulted to the current machine, and the workspace has no working folder mappings. An exception is thrown if the workspace cannot be created.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft