LoadDefaults Method

The LoadDefaults method resets the configuration information for the specified Membership virtual server instance with default settings.  The changes only affect the information stored in the object.  To commit the changes, invoke SetConfig.

IDL Definition

HRESULT LoadDefaults ( LONG lvirtserverID ) ;

Parameters

lvirtserverID

The Membership virtual server instance ID.

Return Values

A standard HRESULT value.

Example

Set ObjCreator = CreateObject("ObjCreator.ObjCreator.1")
Set BrokConfig = ObjCreator.CreateObjAuth("MemAdmin.BrokConfig.1") 
BrokConfig.GetInfo 1
BrokConfig.LoadDefaults 1  'reset the server to default settings
BronConfig.SetConfig

© 1997-1998 Microsoft Corporation. All rights reserved.