DeleteConfig Method

This method immediately deletes the specified virtual server instance configuration.

IDL Definition

HRESULT DeleteConfig( [in]  VARIANT lInstanceId ); 

Parameters

lInstanceId

A VT_I4 (integer) value specifying the server instance number to delete the configuration for

Return Values

a standard HRESULT value

Remarks

The DeleteConfig method acts immediately.  No call to SaveConfig is required.  Once the specified instance has been deleted, the identifier can be reused to create a new instance.

Example

VBScript

Set ILdapcfg = CreateObject("MemAdmin.Ldapconfig")
ILdapcfg.DeleteConfig 4 ' delete instance 4 

© 1997-1998 Microsoft Corporation. All rights reserved.