Export (0) Print
Expand All

ReplicationMonitor.StatusOf Method

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public ReplicationStatus StatusOf(
	AgentType agentType
)

Parameters

agentType
Type: 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.

Community Additions

ADD
Show:
© 2014 Microsoft