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