Compartilhar via


Método EnumMemberServers

Enumerates a list of target servers that are members of the referenced target server group.

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

Sintaxe

'Declaração
Public Function EnumMemberServers As TargetServer()
'Uso
Dim instance As TargetServerGroup
Dim returnValue As TargetServer()

returnValue = instance.EnumMemberServers()
public TargetServer[] EnumMemberServers()
public:
array<TargetServer^>^ EnumMemberServers()
member EnumMemberServers : unit -> TargetServer[] 
public function EnumMemberServers() : TargetServer[]

Valor de retorno

Tipo: array<Microsoft.SqlServer.Management.Smo.Agent. . :: . .TargetServer> [] () [] []
An array of TargetServer objects that are members of the referenced target server group.