Share via


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