Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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[]
Return Value
Type: array<Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServer[]
An array of RegisteredServer objects.