DefaultProfileProvider.GetNumberOfInactiveProfiles Method
Returns the number of inactive profiles.
Namespace: System.Web.Providers
Assembly: System.Web.Providers (in System.Web.Providers.dll)
Syntax
'Declaration
Public Overrides Function GetNumberOfInactiveProfiles ( _
authenticationOption As ProfileAuthenticationOption, _
userInactiveSinceDate As DateTime _
) As Integer
'Usage
Dim instance As DefaultProfileProvider
Dim authenticationOption As ProfileAuthenticationOption
Dim userInactiveSinceDate As DateTime
Dim returnValue As Integer
returnValue = instance.GetNumberOfInactiveProfiles(authenticationOption, _
userInactiveSinceDate)
public override int GetNumberOfInactiveProfiles(
ProfileAuthenticationOption authenticationOption,
DateTime userInactiveSinceDate
)
public:
virtual int GetNumberOfInactiveProfiles(
ProfileAuthenticationOption authenticationOption,
DateTime userInactiveSinceDate
) override
abstract GetNumberOfInactiveProfiles :
authenticationOption:ProfileAuthenticationOption *
userInactiveSinceDate:DateTime -> int
override GetNumberOfInactiveProfiles :
authenticationOption:ProfileAuthenticationOption *
userInactiveSinceDate:DateTime -> int
public override function GetNumberOfInactiveProfiles(
authenticationOption : ProfileAuthenticationOption,
userInactiveSinceDate : DateTime
) : int
Parameters
- authenticationOption
Type: System.Web.Profile.ProfileAuthenticationOption
The authentication option.
- userInactiveSinceDate
Type: System.DateTime
The date since the user is inactive.
Return Value
Type: System.Int32
The number of inactive profiles.
See Also
Reference
System.Web.Providers Namespace