Share via


KeywordQuery class

NOTE: This API is now obsolete.

表示會使用關鍵字的語法的搜尋查詢。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Search.Query.Query
    Microsoft.SharePoint.Search.Query.KeywordQuery

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'宣告
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class KeywordQuery _
    Inherits Query
'用途
Dim instance As KeywordQuery
[ObsoleteAttribute("This class is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class KeywordQuery : Query

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

KeywordQuery members

Microsoft.SharePoint.Search.Query namespace