Partager via


MetricId propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property MetricId As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

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.