HrRemoveMailboxAgent

The HrRemoveMailboxAgent function deletes a mailbox agent from a site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrRemoveMailboxAgent(
  LPSTR lpszServer,  
  LPSTR lpszSiteDN,  
  LPSTR lpszRDN      
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server from which the mailbox agent is removed.
lpszSiteDN
Input parameter. Points to a null-terminated string containing the distinguished name (DN) of the site from which the mailbox agent is removed.
lpszRDN
Input parameter. Points to a null-terminated string containing the relative distinguished name (RDN) of the mailbox agent.

Return Values

See Return Values.

Remarks

For more information on this function, see Removing a Server Application.

See Also

HrCreateMailboxAgentProfile, HrInstallMailboxAgent, HrMailboxAgentExists, HrRemoveGateway, HrRemoveProfile, HrRemoveRegistry, HrRemoveService, HrRemoveServicePerfMon