Gets a list of modules that are listed as "Searchable" from the module definition and check if they implement ModuleSearchBase -- which is a newer implementation of search that replaces ISearchable

Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
protected IEnumerable<ModuleInfo> GetSearchModules(
	int portalId
)
Visual Basic
Protected Function GetSearchModules ( 
	portalId As Integer
) As IEnumerable(Of ModuleInfo)

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Services.Search.ModuleIndexer.GetSearchModules(System.Int32)

Return Value

returnsM:DotNetNuke.Services.Search.ModuleIndexer.GetSearchModules(System.Int32)

See Also