Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionControlServer::GetWorkspace Method (WorkspaceInfo)

Gets the Workspace associated with the specified WorkspaceInfo object.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public:
Workspace^ GetWorkspace(
	WorkspaceInfo^ workspaceInfo
)

Parameters

workspaceInfo
Type: Microsoft.TeamFoundation.VersionControl.Client::WorkspaceInfo

The WorkspaceInfo object to get the Workspace for.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::Workspace
Gets the Workspace associated with the specified WorkspaceInfo object.
ExceptionCondition
ItemNotMappedException

Thrown if no Workspace is found associated with the specified WorkspaceInfo.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.