Ontolica for SharePoint Public API

SearchDialogComponent.Sources Property

Gets the sources, a.k.a. search scopes in the current search configuration.

[Visual Basic]
Protected ReadOnly Property Sources As OntolicaSource()
[C#]
protected NavigoSystems.Ontolica.SharePoint.Custom.OntolicaSource[] Sources {get;}

Property Value

An array of OntolicaSource objects that represents the sources from the search configuration.

Remarks

The current search configuration is provided to the Ontolica Search web part by the Ontolica Portal Search Result web part or the Ontolica Knowledge Base web part depending which one the search web part is connected to. The search configuration can be changed in the tool part of these web parts.

This property can not guarantee to provide the sources before the ASP.NET prerender phase.

See Also

SearchDialogComponent Class | NavigoSystems.Ontolica.SharePoint.Custom.WebControls Namespace