Platform SDK: Exchange Server

HrRemoveProfile

The HrRemoveProfile function deletes a MAPI profile.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrRemoveProfile(
  LPSTR pszProfileName  
);
 

Parameters

pszProfileName
Input parameter. Points to a null-terminated string containing the name of the MAPI profile to remove.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrRemoveProfile function in EXCHPROF.C under the EXCHINST code sample in Code Samples folder.

See Also

HrCreateGatewayProfile, HrMAPIProfileExists, HrRemoveMailboxAgent