다음을 통해 공유


TeamFoundationServerFactory.GetServer Method (RegisteredProjectCollection)

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

‘선언
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

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

See Also

Reference

TeamFoundationServerFactory Class

GetServer Overload

Microsoft.TeamFoundation.Client Namespace