'Declaration
Public Overrides NotOverridable Function GetNumberOfInactiveProfiles( _ 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.GetNumberOfInactiveProfiles(authenticationOption, userInactiveSinceDate)
public override System.int GetNumberOfInactiveProfiles( 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 returned.
- userInactiveSinceDate
- A System.DateTime that identifies which user profiles are considered inactive. If the System.Web.Profile.ProfileInfo.LastActivityDate of a user profile occurs on or before this date and time, the profile is considered inactive.
Return Value
The number of profiles in which the last activity date occurred on or before the specified date.