This method returns all the properties for the specified LDAP server instance. These properties appear as the server's properties on the Microsoft Management Console property page.
IDL Definition
HRESULT GetDirectoryProperties(
[in] VARIANT lInstanceId,
[out] VARIANT *szRealm,
[out] VARIANT *szDnPrefix,
[out] VARIANT * fIsSQL,
[out] VARIANT * fExtSec,
[out] VARIANT * rgszContainerPartitions
);
Parameters
lInstanceId
the virtual server instance the root database information is requested for
szRealm
the NT security realm
szDnPrefix
the naming prefix
fIsSQL
indicates whether this directory has SQL server database backend. Zero (0) indicates false, one (1) indicates TRUE.
fExtSec
indicates whether this directory uses NT Security or Membership Security. Zero (0) indicates Membership security. One (1) means NT security.
rgszContainerPartitions
this is a VT_ARRAY containing VT_BSTR values. The strings represent the names of the namespace partitions of the directory, e.g. c=us or o=somecompnay/ou=members.
Return Values
a standard HRESULT value