Compartilhar via


Propriedade MetricId

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

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

Sintaxe

'Declaração
Public Property MetricId As Integer
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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.