ConfigProperty.Maximum 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property Maximum As Integer 
    Get
用法
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

属性值

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

注释

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

示例

在 SMO 中配置 SQL Server

请参阅

参考

ConfigProperty 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

服务器配置选项