BatchImported Event

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

The BatchImported event occurs when a bulk copy transaction is committed.

구문

Private Sub
object
_BatchImported(
Message as String
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • Message
    String that contains descriptive message text.

Prototype (C/C++)

HRESULT BatchImported(SQLDMO_LPCSTR Message);

주의

The BatchImported event is raised only when the BulkCopy object is used as a parameter of the ImportData method of the Table object.

The Microsoft SQL Server bulk copy process can copy large amounts of data from an external data file to a SQL Server table. By default, all rows in the external data file are inserted in a single transaction when a data import operation is performed by using the BulkCopy object.

SQL Server does not guarantee data integrity until and unless a bulk copy transaction is committed.

Use the ImportRowsPerBatch property of the BulkCopy object to adjust the size of the bulk copy transaction.

Applies To:

참고 항목

참조