Compartilhar via


Método EnumRegisteredServers

Returns an array of servers.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Shared Function EnumRegisteredServers As RegisteredServer()
'Uso
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[]

Valor de retorno

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