The HrRemoveMailboxAgent function deletes a mailbox agent from a site.
| Header file: | EXCHINST.H | 
| Library: | EXCHINST.LIB | 
HRESULT HrRemoveMailboxAgent(
  LPSTR lpszServer,  
  LPSTR lpszSiteDN,  
  LPSTR lpszRDN      
);
 See Return Values.
For more information on this function, see Removing a Server Application.
HrCreateMailboxAgentProfile, HrInstallMailboxAgent, HrMailboxAgentExists, HrRemoveGateway, HrRemoveProfile, HrRemoveRegistry, HrRemoveService, HrRemoveServicePerfMon