Partilhar via


Propriedade do RDL MaximumValue

Represents the maximum value for the replication agent parameter.

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

Sintaxe

'Declaração
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 da propriedade

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

Comentários

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.