共用方式為


ResourcePool.MaximumMemoryPercentage 屬性

Gets or sets the maximum memory percentage for a Resource Pool.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaximumMemoryPercentage As Integer 
    Get 
    Set
'用途
Dim instance As ResourcePool 
Dim value As Integer 

value = instance.MaximumMemoryPercentage

instance.MaximumMemoryPercentage = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int MaximumMemoryPercentage { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int MaximumMemoryPercentage {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaximumMemoryPercentage : int with get, set
function get MaximumMemoryPercentage () : int 
function set MaximumMemoryPercentage (value : int)

屬性值

型別:System.Int32
The maximum memory percentage for a Resource Pool.

請參閱

參考

ResourcePool 類別

Microsoft.SqlServer.Management.Smo 命名空間