SearchObjectFilter constructor (SearchObjectLevel)
Builds a SearchObjectFilter with default settings that specifies the set of objects owned by the current SharePoint context at the specified level. IncludeHigherLevel = true Offset = 0 MaximumNumberOfObjectsToReturn = 0
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
level As SearchObjectLevel _
)
'Usage
Dim level As SearchObjectLevel
Dim instance As New SearchObjectFilter(level)
public SearchObjectFilter(
SearchObjectLevel level
)
Parameters
level
Type: Microsoft.Office.Server.Search.Administration.SearchObjectLevelthe SearchObjectLevel to filter objects by.
Remarks
This method depends implicitely on the SharePoint in SPContext.Current. If that is null it will thown an exception.