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)
Syntax
'Declaração
Public Function GetWorkspace ( _
teamProjectCollection As TfsTeamProjectCollection _
) As Workspace
public Workspace GetWorkspace(
TfsTeamProjectCollection teamProjectCollection
)
public:
Workspace^ GetWorkspace(
TfsTeamProjectCollection^ teamProjectCollection
)
member GetWorkspace :
teamProjectCollection:TfsTeamProjectCollection -> Workspace
public function GetWorkspace(
teamProjectCollection : TfsTeamProjectCollection
) : Workspace
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.
.NET Framework Security
- 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.