This method updates the meta-base information for a given LDAP server instance. The realm and the optional DN Prefix are added.
HRESULT SetDirectoryPropertiesPage(
[in] long lInstanceId,
[in] BSTR szRealm,
[in] BSTR szDnPrefix
);
Parameters
lInstanceId
the LDAP server instance identifier.
szRealm
the Realm name of the directory service.
szDnPrefix
the prefix to use when constructing the full distinguished name.
Return Values
a standard HRESULT value
Example
Set ObjCreator = CreateObject("ObjCreator.ObjCreator.1")
Set DSConfig = ObjCreator.CreateObjAuth("MemAdmin.DSConfig.1")
call DSConfig.SetDirectoryPropertiesPage(1,"somecompany","o=companies")