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 TeamFoundationServer object that is associated with the specified RegisteredProjectCollection object.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetServer ( _
projectCollection As RegisteredProjectCollection _
) As TeamFoundationServer
public static TeamFoundationServer GetServer(
RegisteredProjectCollection projectCollection
)
public:
static TeamFoundationServer^ GetServer(
RegisteredProjectCollection^ projectCollection
)
static member GetServer :
projectCollection:RegisteredProjectCollection -> TeamFoundationServer
public static function GetServer(
projectCollection : RegisteredProjectCollection
) : TeamFoundationServer
Parameters
- projectCollection
Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The RegisteredProjectCollection instance that contains information about the server.
Return Value
Type: Microsoft.TeamFoundation.Client.TeamFoundationServer
The TeamFoundationServer object that is associated with the server that is described in the specified RegisteredProjectCollection.
.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.