'Declaration
Public Overrides NotOverridable Function DeleteInactiveProfiles( _ ByVal authenticationOption As System.Web.Profile.ProfileAuthenticationOption, _ ByVal userInactiveSinceDate As System.Date _ ) As System.Integer
'Usage
Dim instance As VistaDBProfileProvider Dim authenticationOption As System.Web.Profile.ProfileAuthenticationOption Dim userInactiveSinceDate As System.Date Dim value As System.Integer value = instance.DeleteInactiveProfiles(authenticationOption, userInactiveSinceDate)
public override System.int DeleteInactiveProfiles( System.Web.Profile.ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate )
Parameters
- authenticationOption
- One of the System.Web.Profile.ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are deleted.
- userInactiveSinceDate
- A System.DateTime that identifies which user profiles are considered inactive. If the System.Web.Profile.ProfileInfo.LastActivityDate value of a user profile occurs on or before this date and time, the profile is considered inactive.
Return Value
The number of profiles deleted from the data source.