Share via


RegisteredServers.GetServerNames Method

Gets a list of registered server names.

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

Syntax

'Declaration
Public Shared Function GetServerNames As String()
public static string[] GetServerNames()
public:
static array<String^>^ GetServerNames()
static member GetServerNames : unit -> string[] 
public static function GetServerNames() : String[]

Return Value

Type: array<System.String[]
An array of registered server names.

.NET Framework Security

See Also

Reference

RegisteredServers Class

Microsoft.TeamFoundation.Client Namespace