EnumRegisteredServers-Methode
Returns an array of servers.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Shared Function EnumRegisteredServers As RegisteredServer()
'Usage
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[]
Rückgabewert
Typ: array<Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegisteredServer> [] () [] []
An array of RegisteredServer objects.