MonitorThreshold MonitorThreshold MonitorThreshold MonitorThreshold Class

Definition

Represents a threshold metric used when monitoring a publication.

public ref class MonitorThreshold sealed
public sealed class MonitorThreshold
type MonitorThreshold = class
Public NotInheritable Class MonitorThreshold
Inheritance
MonitorThresholdMonitorThresholdMonitorThresholdMonitorThreshold

Remarks

The following metric names are supported.

<xref:Microsoft.SqlServer.Replication.MonitorThreshold.MetricID%2A> MetricTitle Description
1 expiration Monitors for imminent expiration of subscriptions to transactional publications.
2 latency Monitors for the performance of subscriptions to transactional publications.
4 mergeexpiration Monitors for imminent expiration of subscriptions to merge publications.
5 mergeslowrunduration Monitors the duration of merge synchronizations over low-bandwidth (dialup) connections.
6 mergefastrunduration Monitors the duration of merge synchronizations over high-bandwidth (LAN) connections.
7 mergefastrunspeed Monitors the synchronization rate of merge synchronizations over high-bandwidth (LAN) connections.
8 mergeslowrunspeed Monitors the synchronization rate of merge synchronizations over low-bandwidth (dialup) connections.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

MonitorThreshold() MonitorThreshold() MonitorThreshold() MonitorThreshold()

Creates a new instance of the MonitorThreshold class.

Properties

Enabled Enabled Enabled Enabled

Gets or sets whether the threshold is enabled.

MetricId MetricId MetricId MetricId

Gets or sets the ID value that uniquely identifies the threshold metric.

MetricTitle MetricTitle MetricTitle MetricTitle

Gets or sets the name of the threshold metric.

ShouldAlert ShouldAlert ShouldAlert ShouldAlert

Gets or sets whether an alert is generated when the metric exceeds the threshold.

UserData UserData UserData UserData

Gets or sets an object that allows users to attach their own data to this object.

Value Value Value Value

Gets or sets the threshold value.

Applies to

See also