ISearchProvider.PerformSearch Method
This is the method which will invoke the search provider with a query specified.
Namespace: Microsoft.Office.RecordsManagement.SearchAndProcess
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Function PerformSearch ( _
param As ISearchParameters, _
web As SPWeb _
) As ISearchEnumerator
'Usage
Dim instance As ISearchProvider
Dim param As ISearchParameters
Dim web As SPWeb
Dim returnValue As ISearchEnumerator
returnValue = instance.PerformSearch(param, _
web)
ISearchEnumerator PerformSearch(
ISearchParameters param,
SPWeb web
)
Parameters
param
Type: Microsoft.Office.RecordsManagement.SearchAndProcess.ISearchParametersThe search query.
web
Type: Microsoft.SharePoint.SPWebWeb-related properties like language.
Return Value
Type: Microsoft.Office.RecordsManagement.SearchAndProcess.ISearchEnumerator
Returns ISearchEnumerator.
Remarks
This method should implement the search provider and is responsible for doing all of the processing required for satisfying the search query.
See Also
Reference
Microsoft.Office.RecordsManagement.SearchAndProcess Namespace