Share via


EnumMonitorThresholds 方法

Returns the replication monitor thresholds defined for this publication.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Function EnumMonitorThresholds As ArrayList
'用途
Dim instance As PublicationMonitor
Dim returnValue As ArrayList

returnValue = instance.EnumMonitorThresholds()
public ArrayList EnumMonitorThresholds()
public:
ArrayList^ EnumMonitorThresholds()
member EnumMonitorThresholds : unit -> ArrayList 
public function EnumMonitorThresholds() : ArrayList

備註

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).

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.