Bagikan melalui


ConfigProperty.Maximum Property

Gets the maximum value to which the configuration option can be set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Maximum As Integer 
    Get
'Usage
Dim instance As ConfigProperty 
Dim value As Integer 

value = instance.Maximum
public int Maximum { get; }
public:
property int Maximum {
    int get ();
}
member Maximum : int
function get Maximum () : int

Property Value

Type: System.Int32
An Int32 value that specifies the maximum value to which the configuration option can be set.

Remarks

Some configuration options require values that are True or False. For these, the maximum is 0 and the minimum is –1.

Examples

Configuring SQL Server in SMO

See Also

Reference

ConfigProperty Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Server Configuration Options (SQL Server)