Platform SDK: Exchange Server

HrGetServiceSiteDN

The HrGetServiceSiteDN function obtains the site distinguished name (DN) of the Microsoft Exchange Server object for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceSiteDN(
  LPSTR lpszServiceName,  
  LPSTR * lppszSiteDN     
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lppszSiteDN
Output parameter. Points to the address of a null-terminated string containing the distinguished name of the site where the service is running.

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceCommonName, HrGetServiceDisplayName, HrGetServiceExecutableName, HrGetServiceObjectGUID, HrGetServiceProductGUID, HrGetServiceServerName