DeleteServer Method

The DeleteServer method deletes the membership virtual server instance.

IDL Definition

HRESULT DeleteServer(LONG lVirtServId);

Parameters

lVirtServId

The Membership virtual server instance identifier of the instance to delete.

Return Values

A standard HRESULT value

Example

Set ObjCreator = CreateObject("ObjCreator.ObjCreator.1")
Set BrokServers = ObjCreator.CreateObjAuth("MemAdmin.BrokServers.1")
BrokServers.DeleteInstance "3"

© 1997-1998 Microsoft Corporation. All rights reserved.