次の方法で共有


RegisteredServers.GetServers Method (ICredentialsProvider)

Gets an array of all registered servers.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Shared Function GetServers ( _
    fallbackCredentialsProvider As ICredentialsProvider _
) As TeamFoundationServer()
public static TeamFoundationServer[] GetServers(
    ICredentialsProvider fallbackCredentialsProvider
)
public:
static array<TeamFoundationServer^>^ GetServers(
    ICredentialsProvider^ fallbackCredentialsProvider
)
static member GetServers : 
        fallbackCredentialsProvider:ICredentialsProvider -> TeamFoundationServer[] 
public static function GetServers(
    fallbackCredentialsProvider : ICredentialsProvider
) : TeamFoundationServer[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.Client.TeamFoundationServer[]
An array of TeamFoundationServer instances that represents the registered servers.

.NET Framework Security

See Also

Reference

RegisteredServers Class

GetServers Overload

Microsoft.TeamFoundation.Client Namespace