Ontolica for SharePoint Public API

OntolicaSource.URL Property

Gets the URL of the resource that the query source represents.

[Visual Basic]
Public ReadOnly Property URL As String
[C#]
public string URL {get;}

Property Value

A string that contains the URL or null if the source cannot be represented by a URL.

Remarks

A standard SharePoint Search Scope cannot be represented by a URL and the property will therefore be null in this case. But most other search scopes can be represented by a URL as shown in the following table that outlines the other types of search scopes provided by Ontolica:

TypeDescription
AreaURL address of the SharePoint area.
Document LibraryURL address of the Document Library or one of its subfolders.
Personal SiteURL address of the personal site.
SharePoint Search ScopeNull.
Site Directory Search ScopeURL address of the SharePoint Site Directory.
WSS SiteURL address of the WSS site.

See Also

OntolicaSource Class | NavigoSystems.Ontolica.SharePoint.Custom Namespace