VersionControlServer.GetWorkspace Method

Include Protected Members
Include Inherited Members

Gets a 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

GetWorkspace(WorkspaceInfo)

Takes a WorkspaceInfo object (which refers to a particular workspace, but does not give you full access to that workspace) and returns a Workspace object (which has the full suite of methods to operate on that workspace).

Public method

GetWorkspace(String)

This method starts with a local path and finds a workspace that contains a mapping to that path. Workspace mappings are inherently recursive: if you pass C:\code\CmdLine and no explicit mapping for C:\code\CmdLine is found, Team Foundation Server will search for a mapping to C:\code and then C:\. The search is restricted to mappings for the current user on the current computer.

Public method

GetWorkspace(String, String)

Gets a workspace with the specified name and owner. The workspace does not need to be on the current computer.

Top

See Also

Reference

VersionControlServer Class

VersionControlServer Members

Microsoft.TeamFoundation.VersionControl.Client Namespace