Share via


RegisteredServers.GetServers Method

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 As TeamFoundationServer()
public static TeamFoundationServer[] GetServers()
public:
static array<TeamFoundationServer^>^ GetServers()
static member GetServers : unit -> TeamFoundationServer[] 
public static function GetServers() : TeamFoundationServer[]

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