This documentation is archived and is not being maintained.

WorkspaceInfo::GetWorkspace Method (TfsTeamProjectCollection)

Gets the workspace object that matches this WorkspaceInfo instance.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
Workspace^ GetWorkspace(
	TfsTeamProjectCollection^ teamProjectCollection
)

Parameters

teamProjectCollection
Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection

The TfsTeamProjectCollection that hosts the workspace.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::Workspace
The workspace object that is associated with this WorkspaceInfo instance.

Show: