Oracle Objects for OLE C++ Class Library
Release 8.1.7

Part Number A85258-01

Library

Product

Contents

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.


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents