This documentation is archived and is not being maintained.

SqlProfileProvider Members

Manages storage of profile information for an ASP.NET application in a SQL Server database.

The SqlProfileProvider type exposes the following members.

  NameDescription
Public method SqlProfileProvider Creates an instance of the SqlProfileProvider class.
Top

  NameDescription
Public method DeleteInactiveProfiles Deletes user profile data for profiles in which the last activity date occurred before the specified date and time. (Overrides ProfileProvider::DeleteInactiveProfiles(ProfileAuthenticationOption, DateTime).)
Public method DeleteProfiles Overloaded. Deletes profile properties and information from the data source.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindInactiveProfilesByUserName Retrieves profile information for profiles in which the last activity date occurred on or before the specified date and time and the user name for the profile matches the specified name. (Overrides ProfileProvider::FindInactiveProfilesByUserName(ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32%).)
Public method FindProfilesByUserName Retrieves profile information for profiles in which the user name matches the specified name. (Overrides ProfileProvider::FindProfilesByUserName(ProfileAuthenticationOption, String, Int32, Int32, Int32%).)
Public method GetAllInactiveProfiles Retrieves user profile data for profiles in which the last activity date occurred on or before the specified date and time. (Overrides ProfileProvider::GetAllInactiveProfiles(ProfileAuthenticationOption, DateTime, Int32, Int32, Int32%).)
Public method GetAllProfiles Retrieves user profile data for profiles in the data source. (Overrides ProfileProvider::GetAllProfiles(ProfileAuthenticationOption, Int32, Int32, Int32%).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNumberOfInactiveProfiles Gets the number of profiles in the data source where the last activity date occurred on or before the specified userInactiveSinceDate. (Overrides ProfileProvider::GetNumberOfInactiveProfiles(ProfileAuthenticationOption, DateTime).)
Public method GetPropertyValues Retrieves profile property information and values from a SQL Server profile database. (Overrides SettingsProvider::GetPropertyValues(SettingsContext, SettingsPropertyCollection).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the SQL Server profile provider with the property values specified in the ASP.NET application's configuration file. This method is not intended to be used directly from your code. (Overrides ProviderBase::Initialize(String, NameValueCollection).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetPropertyValues Updates the SQL Server profile database with the specified property values. (Overrides SettingsProvider::SetPropertyValues(SettingsContext, SettingsPropertyValueCollection).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ApplicationName Gets or sets the name of the application for which to store and retrieve profile information. (Overrides SettingsProvider::ApplicationName.)
Public property Description Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.)
Public property Name Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.)
Top
Show: