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

返回值

类型:System.Collections.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).

请参阅

参考

PublicationMonitor 类

Microsoft.SqlServer.Replication 命名空间

其他资源

以编程方式监视复制(RMO 编程)