Scope.OwningSite property

Gets the site that owns the scope.

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

Syntax

'Declaration
Public ReadOnly Property OwningSite As SPSite
    Get
'Usage
Dim instance As Scope
Dim value As SPSite

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

Property value

Type: Microsoft.SharePoint.SPSite
A SPSite object that represents the site that owns the scope.

See also

Reference

Scope class

Scope members

Microsoft.Office.Server.Search.Administration namespace