Share 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