다음을 통해 공유


BulkCopy Object

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

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

현재 개체를 보여 주는 SQL-DMO 개체 모델

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

주의

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:

  • Specify format values for the data file used for bulk copy operations.
  • Set bulk copy command parameters, such as error file name and maximum number of errors to allow before stopping.
  • Stop an in-process bulk copy.
  • Respond to bulk copy events to report the number of rows processed or the percent complete.

[!참고] The BulkCopy object is compatible with instances of SQL Server version 7.0 and later. However, the BulkCopy2 object extends the functionality of the BulkCopy object for use with features that were added in SQL Server 2000.

참고 항목

참조

BulkCopy2 Object
ExportData Method
ImportData Method

도움말 및 정보

SQL Server 2005 지원 받기