共用方式為


Query.EnableQueryRules 屬性

指定是否要將查詢規則啟用這個查詢Boolean值。

命名空間:  Microsoft.SharePoint.Client.Search.Query
組件:  Microsoft.SharePoint.Client.Search (在 Microsoft.SharePoint.Client.Search.dll 中)

語法

'宣告
Public Property EnableQueryRules As Boolean
    Get
    Set
'用途
Dim instance As Query
Dim value As Boolean

value = instance.EnableQueryRules

instance.EnableQueryRules = value
public bool EnableQueryRules { get; set; }

屬性值

類型:System.Boolean

備註

預設值是true

請參閱

參照

Query 類別

Query 成員

Microsoft.SharePoint.Client.Search.Query 命名空間