TargetServerGroup.EnumMemberServers Method
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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumMemberServers As TargetServer()
'Usage
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[]
Return Value
Type: array<Microsoft.SqlServer.Management.Smo.Agent.TargetServer[]
An array of TargetServer objects that are members of the referenced target server group.