Export (0) Print
Expand All

OracleBFile.CopyTo Method (OracleLob)

Copies the entire contents of this OracleBFile to the beginning of a destination OracleLob.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

public long CopyTo (
	OracleLob destination
)
public long CopyTo (
	OracleLob destination
)
public function CopyTo (
	destination : OracleLob
) : long

Parameters

destination

The destination OracleLob

Return Value

The number of bytes copied.

Exception typeCondition

ArgumentNullException

The destination OracleLob is a null object reference.

InvalidOperationException

The destination is a null OracleLob.

-or-

The connection with which this OracleBFile is associated is closed.

ObjectDisposedException

The OracleBFile object is closed or disposed.

The underlying data types of the source OracleBFile and the destination OracleLob must be compatible. For example, you cannot copy binary data to a destination OracleLob that has a character data type.

You must have write access to the destination OracleLob for the CopyTo operation to execute correctly.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft