Export (0) Print
Expand All

WorkspaceInfo.GetWorkspace Method (TeamFoundationServer)

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("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.Workspace
The workspace object that is associated with this WorkspaceInfo instance.

Show:
© 2015 Microsoft