Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- 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.