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
public int MaximumValue { get; set; }
public:
property int MaximumValue {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaximumValue ()

/** @property */
public void set_MaximumValue (int value)
public function get MaximumValue () : int

public function set MaximumValue (value : int)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AgentProfileParameterInfo Class
AgentProfileParameterInfo Members
Microsoft.SqlServer.Replication Namespace