ListMemberServers Method
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The ListMemberServers method returns a NameList object that enumerates the member target servers of the multiserver administration, target server group referenced.
구문
object
.ListMemberServers(
)
as
NameList
Parts
- object
Expression that evaluates to an object in the Applies To list.
Prototype (C/C++)
HRESULT ListMemberServers(
LPSQLDMONAMELIST* ppServerNames);
Returns
A NameList object that enumerates target servers by enlisted name.
주의
When a SQL Server Agent acts as a master server for multiserver administration servers, known execution target servers can be grouped for easier targeting of multiple servers.
Target server groups are defined only for a SQL Server Agent acting as a multiserver administration master. The ListMemberServers method only returns members when the JobServer object that contains the TargetServerGroup object references a multiserver administration master.