GetAllInactiveProfiles Method

MySQL Connector/Net

When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date.

Namespace:  MySql.Web.Profile
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

Syntax

C#
public override ProfileInfoCollection GetAllInactiveProfiles(
	ProfileAuthenticationOption authenticationOption,
	DateTime userInactiveSinceDate,
	int pageIndex,
	int pageSize,
	out int totalRecords
)
Visual Basic (Declaration)
Public Overrides Function GetAllInactiveProfiles ( _
	authenticationOption As ProfileAuthenticationOption, _
	userInactiveSinceDate As DateTime, _
	pageIndex As Integer, _
	pageSize As Integer, _
	<OutAttribute> ByRef totalRecords As Integer _
) As ProfileInfoCollection
Visual C++
public:
virtual ProfileInfoCollection^ GetAllInactiveProfiles(
	ProfileAuthenticationOption authenticationOption, 
	DateTime userInactiveSinceDate, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% totalRecords
) override

Parameters

authenticationOption
Type: System.Web.Profile..::.ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
userInactiveSinceDate
Type: System..::.DateTime
A DateTime that identifies which user profiles are considered inactive. If the LastActivityDate of a user profile occurs on or before this date and time, the profile is considered inactive.
pageIndex
Type: System..::.Int32
The index of the page of results to return.
pageSize
Type: System..::.Int32
The size of the page of results to return.
totalRecords
Type: System..::.Int32 %
When this method returns, contains the total number of profiles.

Return Value

A ProfileInfoCollection containing user-profile information about the inactive profiles.

See Also