This method sets the Realm and Naming prefix for a specified LDAP server instance. This method is used by the Microsoft Management Console to update properties changed on the property page for the instance.
IDL Definition
HRESULT SetDirectoryProperties(
[in] VARIANT lInstanceId,
[in] VARIANT szRealm,
[in] VARIANT szDnPrefix
);
Parameters
lInstanceId (VT_I4)
the virtual server instance the root database information is to be set for
szRealm (VT_BSTR)
the NT security realm
szDnPrefix (VT_BSTR)
the naming prefix
Return Values
a standard HRESULT value