Query.Site Property

Gets the collection of Web sites associated with the query.

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

Syntax

'Declaration
Public ReadOnly Property Site As SPSite
    Get
'Usage
Dim instance As Query
Dim value As SPSite

value = instance.Site
public SPSite Site { get; }

Property Value

Type: Microsoft.SharePoint.SPSite
Returns an SPSite object representing the Web site collection.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace