Metodo EnumRegisteredServers

Returns an array of servers.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
Public Shared Function EnumRegisteredServers As RegisteredServer()
'Utilizzo
Dim returnValue As RegisteredServer()

returnValue = SqlServerRegistrations.EnumRegisteredServers()
public static RegisteredServer[] EnumRegisteredServers()
public:
static array<RegisteredServer^>^ EnumRegisteredServers()
static member EnumRegisteredServers : unit -> RegisteredServer[] 
public static function EnumRegisteredServers() : RegisteredServer[]

Valore restituito

Tipo: array<Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegisteredServer> [] () [] []
An array of RegisteredServer objects.