Last modified: July 23, 2011
Applies to: Outlook
Deletes a message service from a profile.
The IMsgServiceAdmin::DeleteMsgService method deletes a message service from a profile. DeleteMsgService removes all profile sections related to the message service.
DeleteMsgService performs the following steps to delete the message service:
Calls the message service's entry point function with the ulContext parameter set to MSG_SERVICE_DELETE before the profile sections are removed. This allows the service to perform any service-specific tasks.
Deletes the message service.
Deletes the message service's profile section.
The message service's entry point function is not called again after the service has been deleted.