Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SqlProfileProvider Methods

SqlProfileProvider Methods

The SqlProfileProvider type exposes the following members.

  Name Description
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(ProfileInfoCollection) Deletes profile properties and information for the supplied list of profiles from the data source. (Overrides ProfileProvider.DeleteProfiles(ProfileInfoCollection).)
Public method DeleteProfiles(String[]) Deletes profile properties and information from the data source for the supplied list of user names. (Overrides ProfileProvider.DeleteProfiles(String[]).)
Public method Equals(Object) 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 the default hash function. (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
Show:
© 2015 Microsoft