다음을 통해 공유


SearchServiceApplicationInfo Constructor (Boolean, Boolean)

Initializes a new instance of the SearchServiceApplicationInfo with the specified query options configured.

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

Syntax

'Declaration
Public Sub New ( _
    queryLoggingEnabled As Boolean, _
    querySuggestionsEnabled As Boolean _
)
'Usage
Dim queryLoggingEnabled As Boolean
Dim querySuggestionsEnabled As Boolean

Dim instance As New SearchServiceApplicationInfo(queryLoggingEnabled, _
    querySuggestionsEnabled)
public SearchServiceApplicationInfo(
    bool queryLoggingEnabled,
    bool querySuggestionsEnabled
)

Parameters

  • queryLoggingEnabled
    Type: System.Boolean

    true to enable query logging; otherwise false.

  • querySuggestionsEnabled
    Type: System.Boolean

    true to enable query suggestions; otherwise false.

See Also

Reference

SearchServiceApplicationInfo Class

SearchServiceApplicationInfo Members

SearchServiceApplicationInfo Overload

Microsoft.Office.Server.Search.Query Namespace