HrRemoveGateway
The HrRemoveGateway function deletes a gateway from a site.
Quick Info 
| Header file: | EXCHINST.H | 
| Library: | EXCHINST.LIB | 
HRESULT HrRemoveGateway(
  LPSTR lpszServer,     
  LPSTR lpszSiteDN,     
  LPSTR lpszCommonName  
);
 
Parameters
- 
lpszServer
- 
Input parameter. Points to a null-terminated string containing the name of the server from which the gateway is removed.
- 
lpszSiteDN
- 
Input parameter. Points to a null-terminated string containing the distinguished name of the site from which the gateway is removed.
- 
lpszCommonName
- 
Input parameter. Points to a null-terminated string containing the common name of the gateway.
Return Values
See Return Values.
Remarks
For more information on this function, see Removing a Gateway.
See Also
HrGatewayExists, HrInstallGateway, HrRemoveMailboxAgent, HrRemoveRegistry, HrRemoveService, HrRemoveServicePerfMon