共用方式為


ResourcePool.MaximumCpuPercentage 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaximumCpuPercentage As Integer 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

ResourcePool 類別

Microsoft.SqlServer.Management.Smo 命名空間