The HrRemoveProfile function deletes a MAPI profile.
| Header file: | EXCHINST.H | 
| Library: | EXCHINST.LIB | 
HRESULT HrRemoveProfile(
  LPSTR pszProfileName  
);
 See Return Values.
For more information on this function, see the HrRemoveProfile function in EXCHPROF.C under the EXCHINST code sample in Code Samples folder.
HrCreateGatewayProfile, HrMAPIProfileExists, HrRemoveMailboxAgent