Partager via


MaximumCpuPercentage propriété

Gets or sets maximum CPU percentage for a Resource Pool.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property MaximumCpuPercentage As Integer
    Get
    Set
'Utilisation
Dim instance As ResourcePool
Dim value As Integer

value = instance.MaximumCpuPercentage

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

Valeur de la propriété

Type : System. . :: . .Int32
Int32

Notes

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