Compartir a través de


MaximumValue Propiedad

Represents the maximum value for the replication agent parameter.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Property MaximumValue As Integer
    Get
    Set
'Uso
Dim instance As AgentProfileParameterInfo
Dim value As Integer

value = instance.MaximumValue

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

Valor de la propiedad

Tipo: System. . :: . .Int32
An Int32 value.

Comentarios

You must check the NoMaximumValue property before calling the MaximumValue property to make sure that a maximum value exists. If no maximum exists, this property raises an exception.

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