Platform SDK: Exchange Server

HrRemoveAddressTemplate

The HrRemoveAddressTemplate function deletes an address template from a site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrRemoveAddressTemplate(
  LPSTR lpszServer,      
  LPSTR lpszSiteDN,      
  LPSTR lpszCommonName,  
  LPSTR lpszAddressType, 
  LPSTR lpszLanguage     
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server from which the address template is removed.
lpszSiteDN
Input parameter. Points to a null-terminated string containing the distinguished name of the site from which the address template is removed.
lpszCommonName
Input parameter. Points to a null-terminated string containing the common name of the address template.
lpszAddressType
Input parameter. Points to a null-terminated string containing the address type supported by the template.
lpszLanguage
Input parameter. Points to a null-terminated string containing the language supported by the template.

Return Values

See Return Values.

Remarks

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

See Also

HrAddressTemplateExists, HrInstallAddressTemplate