LoadConfig Method

This method loads the server instance's configuration information into the object.

IDL Definition

HRESULT LoadConfig([in] VARIANT InstanceId );

Parameters

InstanceId

a VT_I4 (integer) value specifying the server instance to configure

Return Values

a standard HRESULT value

Remarks

Once a configuration has been loaded with LoadConfig, the  various properties can be used to modify the configuration. The configuration is saved with the SaveConfig method.

Example

VBScript

Set ILdapcfg = CreateObject("MemAdmin.Ldapconfig")
ILdapcfg.LoadConfig 4  ' loads config info for server 4 on local machine

© 1997-1998 Microsoft Corporation. All rights reserved.