Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

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

SetPollingAmount Method (not used)

Applies To

OBlob

OClob

OBfile

Description

Sets the total amount to be read or written for multiple chunk Read and Write operations (polling). A value of zero means that polling will not be used. This attribute is read/write at runtime.

Usage

void SetPollingAmount(unsigned long amount) const throw(OException)

Arguments

amount
Total amount to be read or written for multiple chunk Read and Write operations.
Remarks

This value is expressed in bytes for OBlob/OBFILE or characters for OClob. It is set prior to beginning a multiple chunk read or write operation. After it is set, a series of Read or Write operations must be issued until LOB GetStatus no longer returns OLOB_NEED_DATA .This occurs when the PollingAmount bytes or characters have been read. Attempting to do other LOB operations before the end of the polling operation will result in an error.