共用方式為


WorkloadGroup.RequestMaximumMemoryGrantPercentage 屬性

Gets or sets the request maximum memory grant percentage in seconds.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RequestMaximumMemoryGrantPercentage As Integer 
    Get 
    Set
'用途
Dim instance As WorkloadGroup 
Dim value As Integer 

value = instance.RequestMaximumMemoryGrantPercentage

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

屬性值

型別:System.Int32
An Int32 value that specifies the maximum memory grant percentage in seconds.

請參閱

參考

WorkloadGroup 類別

Microsoft.SqlServer.Management.Smo 命名空間