Bagikan melalui


ResourcePool.MaximumMemoryPercentage Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaximumMemoryPercentage As Integer 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

ResourcePool Class

Microsoft.SqlServer.Management.Smo Namespace