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

'Declaration
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

Return Value

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

.NET Framework Security

See Also

Reference

WorkspaceInfo Class

GetWorkspace Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace