ServerGroup.GetDescendantRegisteredServers Method

Returns a list of the registered servers in a server group.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public Function GetDescendantRegisteredServers As List(Of RegisteredServer)
'Usage
Dim instance As ServerGroup 
Dim returnValue As List(Of RegisteredServer)

returnValue = instance.GetDescendantRegisteredServers()
public List<RegisteredServer> GetDescendantRegisteredServers()
public:
List<RegisteredServer^>^ GetDescendantRegisteredServers()
member GetDescendantRegisteredServers : unit -> List<RegisteredServer> 
public function GetDescendantRegisteredServers() : List<RegisteredServer>

Return Value

Type: System.Collections.Generic.List<RegisteredServer>
A ISfcCollection object with the collection of registered servers in the server group.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.RegisteredServers Namespace