Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

SetPinOption Method

Applies To

ORef

Description

Sets the Pin option for the referenceable object during the pin operation.

Usage

void SetPinOption(int option) const throw(OException)

Arguments

option
Possible values are:
  • OREF_READ_ANY (3) If the object is already in the object cache return it, otherwise, retrieve it from the database. This is the default value.
  • OREF_READ_RECENT (4) If the object is retrieved into the cache during a transaction, return it from the cache, otherwise retrieve the object from the database.
  • OREF_READ_LATEST (5) Always retrieve the latest values from the database.
See Also

GetPinOption Method