共用方式為


IServerConfigurationFacet.QueryGovernorCostLimit 屬性

Gets or sets the maximum estimated cost allowed by query governor.

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

語法

'宣告
Property QueryGovernorCostLimit As Integer 
    Get 
    Set
'用途
Dim instance As IServerConfigurationFacet 
Dim value As Integer 

value = instance.QueryGovernorCostLimit

instance.QueryGovernorCostLimit = value
int QueryGovernorCostLimit { get; set; }
property int QueryGovernorCostLimit {
    int get ();
    void set (int value);
}
abstract QueryGovernorCostLimit : int with get, set
function get QueryGovernorCostLimit () : int 
function set QueryGovernorCostLimit (value : int)

屬性值

型別:System.Int32
The maximum estimated cost allowed by query governor.

請參閱

參考

IServerConfigurationFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間