Share via


AgentProfileParameterInfo.MaximumValue Property

Represents the maximum value for the replication agent parameter.

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

Syntax

'Declaration
Public Property MaximumValue As Integer 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Int32
An Int32 value.

Remarks

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.

See Also

Reference

AgentProfileParameterInfo Class

Microsoft.SqlServer.Replication Namespace