ProfileProvider.DeleteProfiles Method (ProfileInfoCollection)
Assembly: System.Web (in system.web.dll)
A ProfileInfoCollection of information about profiles that are to be deleted.
Return ValueThe number of profiles deleted from the data source.
The DeleteProfiles 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 UserName property of each ProfileInfo object in the supplied ProfileInfoCollection to determine which profiles to delete from your data source.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.