다음을 통해 공유


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 프로그래밍)