Export (0) Print
Expand All

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)

member GetWorkspace : 
        workspaceInfo:WorkspaceInfo -> Workspace

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.

Show:
© 2014 Microsoft