ReplicationMonitor.StatusOf(AgentType) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
모니터링 대상 배포기에서 복제 에이전트의 전체 상태를 에이전트 유형별로 반환합니다.
public:
Microsoft::SqlServer::Replication::ReplicationStatus StatusOf(Microsoft::SqlServer::Replication::AgentType agentType);
public Microsoft.SqlServer.Replication.ReplicationStatus StatusOf(Microsoft.SqlServer.Replication.AgentType agentType);
member this.StatusOf : Microsoft.SqlServer.Replication.AgentType -> Microsoft.SqlServer.Replication.ReplicationStatus
Public Function StatusOf (agentType As AgentType) As ReplicationStatus
매개 변수
반품
ReplicationStatus 개체입니다.
설명
에 의해 지정된 AgentType 에이전트의 가장 높은 상태 번호가 반환됩니다.
이 메서드는 StatusOf 배포판 내 고정 서버 역할 구성원 sysadmin 또는 배포 데이터베이스 내 고정 서버 역할 구성원 db_ownerreplmonitor 만 조회할 수 있습니다.