HrRemoveAddressType

The HrRemoveAddressType function deletes an address type from a site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrRemoveAddressType(
  LPSTR lpszServer,      
  LPSTR lpszSiteDN,      
  LPSTR lpszCommonName,  
  LPSTR lpszMachineType  
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server from which the address type is removed.
lpszSiteDN
Input parameter. Points to a null-terminated string containing the distinguished name of the site from which the address type is removed.
lpszCommonName
Input parameter. Points to a null-terminated string containing the common name of the address type.
lpszMachineType
Input parameter. Points to a null-terminated string containing the computer type, such as i386.

Return Values

See Return Values.

Remarks

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

See Also

HrAddressTypeExists, HrGetAddressTypeVersion, HrInstallAddressType