Previous Topic: ISCPersistenceUnitCollection::Create ArgumentsNext Topic: ISCPersistenceUnitCollection::Remove Arguments


ISCPersistenceUnitCollection::Item Arguments

Here is the signature for the Item function:

ISCPersistenceUnit * Item(VARIANT nIndex)

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

Parameter

Valid Type/Value

Description

nIndex

VT_UNKNOWN – Pointer to ISCPersistenceUnit

Creates a clone for the Persistence Unit object.

nIndex

VT_I4 – Index of a persistence unit in the persistence unit collection

Ordered position in the collection. The index is zero-based.

nIndex

VT_BSTR – ID of a persistence unit

Application-wide unique persistence unit identifier.