ISCSession::Open Arguments

Here is the signature for the Open function:

VARIANT_BOOL Open(ISCPersistenceUnit * Unit, VARIANT Level, VARIANT Flags)

The following table contains the valid arguments for the Open function:

Parameter

Valid Type/Value

Description

Target

ISCPersistenceUnit * � pointer to a persistence unit

Provides a persistence unit to attach.

Target

ISCModelSet * � pointer to a model set

Provides a model set to attach.

Target

ISCPropertyBag * � pointer to a property bag

Provides a property bag with the description of an intrinsic metamodel to attach.

Level [optional]

Empty

Defaults to SCD_SL_M0.

Level [optional]

SCD_SL_M0

Data-level access.

Level [optional]

SCD_SL_M1

Metamodel access.

Flags [optional]

Empty

Defaults to SCD_SF_NONE.

Flags [optional]

SCD_SF_NONE

Other sessions can have access to the attached persistence unit.

Flags [optional]

SCD_SF_EXCLUSIVE

Other sessions cannot have access to the attached persistence unit.