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)

'Declaration
Public Function EnumMonitorThresholds As ArrayList
'Usage
Dim instance As PublicationMonitor 
Dim returnValue As ArrayList 

returnValue = instance.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).

Community Additions

ADD
Show:
© 2015 Microsoft