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
fallbackCredentialsProvider
Type: Microsoft.TeamFoundation.Client.ICredentialsProviderThe credentials provider to use if the environment does not already supply one.
Return Value
Type: array<Microsoft.TeamFoundation.Client.TeamFoundationServer[]
An array of TeamFoundationServer instances that represents the registered servers.
.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.