MaxServerMemory 属性
获取 ConfigProperty 对象,该对象用于设置最大服务器内存配置选项。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public ReadOnly Property MaxServerMemory As ConfigProperty
Get
用法
Dim instance As Configuration
Dim value As ConfigProperty
value = instance.MaxServerMemory
public ConfigProperty MaxServerMemory { get; }
public:
property ConfigProperty^ MaxServerMemory {
ConfigProperty^ get ();
}
member MaxServerMemory : ConfigProperty
function get MaxServerMemory () : ConfigProperty
属性值
类型:Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
一个 ConfigProperty 对象,指定最大服务器内存配置选项的设置。
注释
This property specifies the maximum amount of memory, in MB, in the buffer pool used by an instance of SQL Server.