ReplicationMonitor.StatusOf(AgentType) 메서드

정의

모니터링 대상 배포기에서 복제 에이전트의 전체 상태를 에이전트 유형별로 반환합니다.

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

매개 변수

agentType
AgentType

AgentType 에이전트 유형을 지정하는 값입니다.

반품

ReplicationStatus 개체입니다.

설명

에 의해 지정된 AgentType 에이전트의 가장 높은 상태 번호가 반환됩니다.

이 메서드는 StatusOf 배포판 내 고정 서버 역할 구성원 sysadmin 또는 배포 데이터베이스 내 고정 서버 역할 구성원 db_ownerreplmonitor 만 조회할 수 있습니다.

적용 대상