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.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Sub New ( _
    Application As String _
)
'Usage
Dim Application As String

Dim instance As New KeywordQuery(Application)
[ObsoleteAttribute("This class is obsolete.")]
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.SharePoint.Search.Query namespace