SQL-DMO

BulkCopy Object

The BulkCopy object represents the parameters of a single bulk copy command issued against a Microsoft® SQL Server™ 2000 database.

Properties
CodePage Property MaximumErrorsBeforeAbort Property
ColumnDelimiter Property RowDelimiter Property
DataFilePath Property ServerBCPDataFileType Property
DataFileType Property ServerBCPKeepIdentity Property
ErrorFilePath Property ServerBCPKeepNulls Property
ExportWideChar Property SuspendIndexing Property
FirstRow Property TruncateLog Property (BulkCopy)
FormatFilePath Property Use6xCompatible Property
ImportRowsPerBatch Property UseBulkCopyOption Property
IncludeIdentityValues Property UseExistingConnection Property
LastRow Property UseServerSideBCP Property
LogFilePath Property  

Methods
Abort Method SetCodePage Method

Events
BatchImported Event RowsCopied Event

Remarks

The BulkCopy object is used as a parameter to the ImportData method of the Table object and the ExportData method of the Table and View objects.

With the BulkCopy object, you can:

Note  The BulkCopy object is compatible with instances of SQL Server 2000 and SQL Server version 7.0. However, the BulkCopy2 object extends the functionality of the BulkCopy object for use with features that are new in SQL Server 2000.

See Also

BulkCopy2 Object

ExportData Method

ImportData Method