SearchBoxScriptWebPart.QuerySuggestionsSourceID property

Specifies the source ID for query suggestions. This property is used when calling the CSOM to obtain query suggestions. The default is the first data provider.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property QuerySuggestionsSourceID As String
    Get
    Set
'Usage
Dim instance As SearchBoxScriptWebPart
Dim value As String

value = instance.QuerySuggestionsSourceID

instance.QuerySuggestionsSourceID = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string QuerySuggestionsSourceID { get; set; }

Property value

Type: System.String

See also

Reference

SearchBoxScriptWebPart class

SearchBoxScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace