Dela via


ResourcePool.MinimumCpuPercentage Property

Gets or sets the minimum CPU 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 MinimumCpuPercentage As Integer
    Get
    Set
'Usage
Dim instance As ResourcePool
Dim value As Integer

value = instance.MinimumCpuPercentage

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

Property Value

Type: System.Int32
Int32

Remarks

A pool has two parts. One part does not overlap with other pools, which enables minimum resource reservation. The other part is shared with other pools, which supports maximum possible resource consumption. In this release of Resource Governor the pool resources are set by specifying one of the following for each resource:

Min or Max for CPU

Min or Max for Memory