SearchObjectOwner constructor (SearchObjectLevel, SPWeb)

Creates an SearchObjectOwner based on the SharePoint context specified by a passed SPWeb, at the level specified.

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

Syntax

'Declaration
Public Sub New ( _
    lowestLevelToUse As SearchObjectLevel, _
    contextWeb As SPWeb _
)
'Usage
Dim lowestLevelToUse As SearchObjectLevel
Dim contextWeb As SPWeb

Dim instance As New SearchObjectOwner(lowestLevelToUse, _
    contextWeb)
public SearchObjectOwner(
    SearchObjectLevel lowestLevelToUse,
    SPWeb contextWeb
)

Parameters

  • contextWeb
    Type: Microsoft.SharePoint.SPWeb

    A SPWeb that expresses the SharePoint Context from which to build the SearchObjectOwner

See also

Reference

SearchObjectOwner class

SearchObjectOwner members

SearchObjectOwner overload

Microsoft.Office.Server.Search.Administration namespace