Previous Topic: ISCPersistenceUnitCollection::Add ArgumentsNext Topic: ISCPersistenceUnitCollection::Item Arguments


ISCPersistenceUnitCollection::Create Arguments

Here is the signature for the Create function:

ISCPersistenceUnit * Create(ISCPropertyBag * Property Bag, VARIANT ObjectId)

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

Parameter

Valid Type/Value

Description

Property Bag

ISCPropertyBag * – Pointer to a Property Bag object

Supplies required and optional properties to the creation process, such as type of the model.

ObjectId [optional]

Empty

Generates an ID for the new persistence unit.

ObjectId [optional]

VT_BSTR – Object ID for the new persistence unit

Provides an identifier for the new persistence unit.

Note: More information about property names and format is located in the Property Bag for Persistence Units and Persistence Unit Collections section.