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 | |
|---|---|---|
| .gif) | Enabled | Gets or sets whether the threshold is enabled. | 
| .gif) | MetricId | Gets or sets the ID value that uniquely identifies the threshold metric. | 
| .gif) | MetricTitle | Gets or sets the name of the threshold metric. | 
| .gif) | ShouldAlert | Gets or sets whether an alert is generated when the metric exceeds the threshold. | 
| .gif) | UserData | Gets or sets an object that allows users to attach their own data to this object. | 
| .gif) | Value | Gets or sets the threshold value. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
MonitorThreshold Class
Microsoft.SqlServer.Replication Namespace
EnumMonitorThresholds
PublicationMonitor
其他资源
How to: Programmatically Monitor Replication (RMO Programming)