Share via


KeywordQuery Constructor (ServerContext)

Initializes a new instance of the KeywordQuery class, based on the specified Shared Services Provider (SSP) context.

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

Syntax

'Declaration
Public Sub New ( _
    serverContext As ServerContext _
)
'Usage
Dim serverContext As ServerContext

Dim instance As New KeywordQuery(serverContext)
public KeywordQuery(
    ServerContext serverContext
)

Parameters

See Also

Reference

KeywordQuery Class

KeywordQuery Members

KeywordQuery Overload

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part