مشاركة عبر


ResourcePool.MaximumCpuPercentage Property

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

value = instance.MaximumCpuPercentage

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

Property Value

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

See Also

Reference

ResourcePool Class

Microsoft.SqlServer.Management.Smo Namespace