Skip Headers

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

Part Number B10118-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

PollingAmount (OraLOB/BFILE) Property

Applies To

OraBLOB, OraCLOB

OraBFILE

Description

Gets or 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 property is read/write at runtime.

Usage

pollamountbytes = OraBFile.PollingAmount

OraBfile.PollingAmount = pollamountbytes

pollamountbytes = OraBlob.PollingAmount

OraBlob.PollingAmount = pollamountbytes

pollamountchars= OraClob.PollingAmount

OraClob.PollingAmount = pollamountchars

Remarks

This value is expressed in bytes for OraBlob/OraBFILE or characters for OraClob. 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 the LOB Status property no longer returns ORALOB_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.

Data Type

Integer