This method creates a new instance of an LDAP server using the specified identifier. this identifier should not currently be used.
IDL Definition
HRESULT CreateConfig([in] VARIANT InstanceId);
Parameters
InstanceId
a VT_I4 (integer) value specifying the new server instance identifier
Return Values
a standard HRESULT value
Remarks
The CreateConfig method creates a new default configuration with a given instance number. In essence, therefore, a new LDAP server instance is created, in a STOPPED state and with a completely default configuration.
Once the new instance has been created, its properties can be set using the properties described in this reference. To commit the changes, one must call SaveConfig.
Example
VBScript
Set ILdapcfg = CreateObject("MemAdmin.Ldapconfig")
ILdapcfg.CreateConfig 4 '