SqlServerRegistrations.EnumRegisteredServers Method
Returns an array of servers.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Bildirim
Public Shared Function EnumRegisteredServers As RegisteredServer()
'Kullanım
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.