HrEnumContainers
The HrEnumContainers function lists the names of the containers on the server.
Quick Info
Header file: |
EXCHINST.H |
Library: |
EXCHINST.LIB |
HRESULT HrEnumContainers(
LPSTR lpszServer,
LPSTR lpszSiteDN,
BOOL fSubtree,
LPSTR * lppszContainers
);
Parameters
-
lpszServer
-
Input parameter. Points to a null-terminated string containing the name of the server.
-
lpszSiteDN
-
Input parameter. Points to a null-terminated string containing the distinguished name of the site.
-
fSubtree
-
Input parameter. Determines whether to enumerate the names of any child containers:
-
TRUE
-
Name any subcontainers.
-
FALSE
-
Do not name any subcontainers.
-
lppszContainers
-
Output parameter. Points to a pointer to an array of strings (terminated by a NULL entry) containing the names of the containers.
Return Values
See Return Values.
See Also
HrEnumOrganizations, HrEnumSites