Export (0) Print
Expand All

OracleLob.ChunkSize Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets a value indicating the minimum number of bytes to retrieve from or send to the server during a read/write operation.

[Visual Basic]
Public ReadOnly Property ChunkSize As Integer
[C#]
public int ChunkSize {get;}
[C++]
public: __property int get_ChunkSize();
[JScript]
public function get ChunkSize() : int;

Property Value

The minimum number of bytes to retrieve or send.

Exceptions

Exception Type Condition
InvalidOperationException The connection is closed.
ObjectDisposedException The object was closed or disposed.
OracleException An Oracle error has occurred.

Remarks

The value returned by the ChunkSize property is not a setting of the .NET Framework Data Provider for Oracle. Instead, it is the value that the Oracle Call Interface (OCI) uses when communicating with the server. Use ChunkSize to ensure that client-side chunks are the same size. Reading or writing in smaller chunks does not cache data, and causes a less optimized round trip to the server because a full packet is not received or sent.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleLob Class | OracleLob Members | System.Data.OracleClient Namespace

Show:
© 2014 Microsoft