EnumMemberServers 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumMemberServers As TargetServer()
用法
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[]

返回值

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