This documentation is archived and is not being maintained.
WorkspaceInfo::GetWorkspace Method (TfsTeamProjectCollection)
Visual Studio 2013
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)
Parameters
- teamProjectCollection
- Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection
The TfsTeamProjectCollection that hosts the workspace.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::WorkspaceThe workspace object that is associated with this WorkspaceInfo instance.
- 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: