This documentation is archived and is not being maintained.
WorkspaceInfo::GetWorkspace Method (TeamFoundationServer)
Visual Studio 2013
Note: This API is now obsolete.
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)
[ObsoleteAttribute(L"The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")] public: Workspace^ GetWorkspace( TeamFoundationServer^ teamFoundationServer )
Parameters
- teamFoundationServer
- Type: Microsoft.TeamFoundation.Client::TeamFoundationServer
The TeamFoundationServer 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: