MySQL Connector/Net |
MySQLProfileProvider..::.DeleteInactiveProfiles Method |
MySQLProfileProvider Class See Also Send Feedback |
When overridden in a derived class, deletes all user-profile data
for profiles in which the last activity date occurred before the
specified date.
Namespace:
MySql.Web.Profile
Assembly:
MySql.Web (in MySql.Web.dll) Version: 6.2.2.0
Syntax
C# |
---|
public override int DeleteInactiveProfiles( ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate ) |
Visual Basic (Declaration) |
---|
Public Overrides Function DeleteInactiveProfiles ( _ authenticationOption As ProfileAuthenticationOption, _ userInactiveSinceDate As DateTime _ ) As Integer |
Visual C++ |
---|
public: virtual int DeleteInactiveProfiles( ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate ) override |
Parameters
- authenticationOption
- Type: System.Web.Profile..::.ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are deleted.
- userInactiveSinceDate
- Type: System..::.DateTime
A DateTime that identifies which user profiles are considered inactive. If the LastActivityDate value of a user profile occurs on or before this date and time, the profile is considered inactive.