DB2 Version 9.7 for Linux, UNIX, and Windows

DB2BulkCopy.Dispose Method

Closes the DB2BulkCopy instance.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Sub Dispose
[C#]
public void Dispose ()
[C++]
public:
void Dispose ()
[JScript]
public function Dispose ()

Remarks

After you call Dispose on a DB2BulkCopy instance, no other operation will succeed. Any actions with members of a DB2BulkCopy instance after a Dispose will result in the application throwing an InvalidOperationException.

Version information

Last update
This topic was last updated for: IBM DB2 Version 9.7
.NET Framework version
Supported in: 2.0, 3.0, 3.5 and 4.0
IBM Data Server Client
Supported in: IBM® DB2® Version 9 through Version 9.7