TargetServerGroup.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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間