When overridden in a derived class, deletes profile properties and information for the supplied list of profiles.
- profiles
- A System.Web.Profile.ProfileInfoCollection of information about profiles that are to be deleted.
The number of profiles deleted from the data source.
The ProfileProvider.DeleteProfiles(ProfileInfoCollection) method deletes the profiles specified in the profiles parameter. Only data for the applicationName specified in the configuration file is removed.
When implementing this method in a derived class, you can use the applicationName value and the ProfileInfo.UserName property of each System.Web.Profile.ProfileInfo object in the supplied System.Web.Profile.ProfileInfoCollection to determine which profiles to delete from your data source.