Share via


MonitorThreshold.MetricId Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property MetricId As Integer
    Get
    Set
'Usage
Dim instance As MonitorThreshold
Dim value As Integer

value = instance.MetricId

instance.MetricId = value
public int MetricId { get; set; }
public:
property int MetricId {
    int get ();
    void set (int value);
}
member MetricId : int with get, set
function get MetricId () : int
function set MetricId (value : int)

Property Value

Type: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the threshold metric.

Remarks

See MonitorThreshold for the list of supported metrics.

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