ReplicationMonitor.StatusOf 메서드

Returns the overall status for replication agents at the monitored Distributor by agent type.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public ReplicationStatus StatusOf(
	AgentType agentType

매개 변수

유형: Microsoft.SqlServer.Replication.AgentType
An AgentType value that specifies the type of agent.

The highest status number for any agent specified by AgentType is returned.

The StatusOf method can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database.

커뮤니티 추가 항목