StartServer Method

The StartServer method starts a specified instance of a Membership virtual server.

IDL Definition

HRESULT StartServer ( [in] LONG  lVirtServId ) ;

Parameters

lVirtServId

The Membership virtual server instance ID.

Return Values

A standard HRESULT value

Example

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

BrokServers.StartServer 1   ' start server # 1

© 1997-1998 Microsoft Corporation. All rights reserved.