MonitorThreshold Members

Represents a threshold metric used when monitoring a publication.

The following tables list the members exposed by the MonitorThreshold type.

Public Constructors

  名称 Description
MonitorThreshold Creates a new instance of the MonitorThreshold class.

顶部

Public Properties

  名称 Description
ms156824.pubproperty(zh-cn,SQL.90).gif Enabled Gets or sets whether the threshold is enabled.
ms156824.pubproperty(zh-cn,SQL.90).gif MetricId Gets or sets the ID value that uniquely identifies the threshold metric.
ms156824.pubproperty(zh-cn,SQL.90).gif MetricTitle Gets or sets the name of the threshold metric.
ms156824.pubproperty(zh-cn,SQL.90).gif ShouldAlert Gets or sets whether an alert is generated when the metric exceeds the threshold.
ms156824.pubproperty(zh-cn,SQL.90).gif UserData Gets or sets an object that allows users to attach their own data to this object.
ms156824.pubproperty(zh-cn,SQL.90).gif Value Gets or sets the threshold value.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms156824.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156824.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms156824.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms156824.pubmethod(zh-cn,SQL.90).gifms156824.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156824.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms156824.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms156824.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

MonitorThreshold Class
Microsoft.SqlServer.Replication Namespace
EnumMonitorThresholds
PublicationMonitor

其他资源

How to: Programmatically Monitor Replication (RMO Programming)