SearchServiceApplicationInfo Constructor (Guid, Boolean, Boolean, Dictionary<String, String>, SearchProvider)
Initializes a new instance of the SearchServiceApplicationInfo based on the specified Search service application identifier (ID), 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 ( _
searchServiceApplicationId As Guid, _
queryLoggingEnabled As Boolean, _
querySuggestionsEnabled As Boolean, _
properties As Dictionary(Of String, String), _
defaultSearchProvider As SearchProvider _
)
'Usage
Dim searchServiceApplicationId As Guid
Dim queryLoggingEnabled As Boolean
Dim querySuggestionsEnabled As Boolean
Dim properties As Dictionary(Of String, String)
Dim defaultSearchProvider As SearchProvider
Dim instance As New SearchServiceApplicationInfo(searchServiceApplicationId, _
queryLoggingEnabled, querySuggestionsEnabled, _
properties, defaultSearchProvider)
public SearchServiceApplicationInfo(
Guid searchServiceApplicationId,
bool queryLoggingEnabled,
bool querySuggestionsEnabled,
Dictionary<string, string> properties,
SearchProvider defaultSearchProvider
)
Parameters
searchServiceApplicationId
Type: System.GuidThe Search service application ID.
queryLoggingEnabled
Type: System.BooleanSet to true to enable query logging; otherwise false.
querySuggestionsEnabled
Type: System.Booleantrue to enable query suggestions; otherwise false.
properties
Type: System.Collections.Generic.Dictionary<String, String>The collection of property names and values for the Search service application.
defaultSearchProvider
Type: Microsoft.Office.Server.Search.Query.SearchProviderThe search provider specified for the Search service application.
See Also
Reference
SearchServiceApplicationInfo Class
SearchServiceApplicationInfo Members