Partilhar via


KeywordQuery Constructor (String)

NOTE: This API is now obsolete.

Initializes a new instance of the KeywordQuery class, based on the specified application name.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute> _
Public Sub New ( _
    Application As String _
)
'Usage
Dim Application As String

Dim instance As New KeywordQuery(Application)
[ObsoleteAttribute]
public KeywordQuery(
    string Application
)

Parameters

  • Application
    Type: System.String

    A string specifying the application name.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

KeywordQuery Overload

Microsoft.Office.Server.Search.Query Namespace