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
lowestLevelToUse
Type: Microsoft.Office.Server.Search.Administration.SearchObjectLevelThe level in the hierarchy that will be the lowest owner of the object.
contextWeb
Type: Microsoft.SharePoint.SPWebA SPWeb that expresses the SharePoint Context from which to build the SearchObjectOwner