The HrMailboxLogoff function logs off a server and mailbox.
| Header file: | MBLOGON.H | 
| Library: | MBLOGON.LIB | 
HRESULT HrMailboxLogoff(
  LPMDB *lppMailboxMDB  
);
 See Return Values.
The caller supplies the DNs of the server and mailbox.
For more information on this function, see Logging On to a Mailbox as a Privileged Service and Using the IExchangeManageStore Interface.
For information on the IMsgStore interface and obtaining distinguished names, see the MAPI Programmer's Reference.