Export (0) Print
Expand All

PublicationMonitor.EnumMonitorThresholds Method

Returns the replication monitor thresholds defined for this publication.

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

public ArrayList EnumMonitorThresholds()

Return Value

Type: ArrayList
A ArrayList of MonitorThreshold objects.

The EnumMonitorThresholds method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.

Calling EnumMonitorThresholds is equivalent to executing sp_replmonitorhelppublicationthresholds (Transact-SQL).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft