GetPortalsByName gets all the portals whose name matches a provided filter expression

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static ArrayList GetPortalsByName(
	string nameToMatch,
	int pageIndex,
	int pageSize,
	ref int totalRecords
)
Visual Basic
Public Shared Function GetPortalsByName ( 
	nameToMatch As String,
	pageIndex As Integer,
	pageSize As Integer,
	ByRef totalRecords As Integer
) As ArrayList

Parameters

nameToMatch
Type: System..::..String
The email address to use to find a match.
pageIndex
Type: System..::..Int32
The page of records to return.
pageSize
Type: System..::..Int32
The size of the page
totalRecords
Type: System..::..Int32%
The total no of records that satisfy the criteria.

Return Value

An ArrayList of PortalInfo objects.

Remarks