Previous Topic: ISCApplication InterfaceNext Topic: ISCPersistenceUnit Interface


ISCPersistenceUnitCollection Interface

The following table contains information on the ISCPersistenceUnitCollection interface:

Signature

Description

Valid Arguments

ISCPersistenceUnit

Item(VARIANT nIndex)

Passes back a pointer for the PersistenceUnit component identified by its ordered position

Index:

  • VT_UNKNOWN – A pointer to a session. Retrieves the persistence unit associated with the session.
  • VT_I4 – Index within the collection. Collection index is from 0 to size-1. Retrieves the persistence unit in the collection with the given index.
  • VT_BSTR – Application-wide unique persistence unit identifier.

long Count()

Number of persistence units in the collection

None