MySiteProfileHandler Class
Implements the IProfileEventInterface interface.
Namespace:
Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
The IProfileEventInterface interface is used to execute code whenever a user profile is about to be deleted. The default MySiteProfileHandler handler assigns the deleted user's My Site to that person's manager. If you want that behavior, you can subclass it.
For more information about the IProfileEventInterface interface, see IProfileEventInterface.