This documentation is archived and is not being maintained.
VersionControlServer.GetWorkspace Method (String, String)
Visual Studio 2013
Gets the Workspace associated with the specified name and owner.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- workspaceName
- Type: System.String
The name of the Workspace to get.
- workspaceOwner
- Type: System.String
The owner of the Workspace to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceThe Workspace that is associated with the specified name and owner.
| Exception | Condition |
|---|---|
| ItemNotMappedException | Thrown if no Workspace is found associated with the specified WorkspaceInfo. |
- 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: