SqlBulkCopy Constructor
Initializes a new instance of the SqlBulkCopy class.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | SqlBulkCopy(SqlConnection) | Initializes a new instance of the SqlBulkCopy class using the specified open instance of SqlConnection. |
![]() | SqlBulkCopy(SqlConnection, SqlBulkCopyOptions, SqlTransaction) | Initializes a new instance of the SqlBulkCopy class using the supplied existing open instance of SqlConnection. The SqlBulkCopy instance behaves according to options supplied in the copyOptions parameter. If a non-null SqlTransaction is supplied, the copy operations will be performed within that transaction. |
![]() | SqlBulkCopy(String) | Initializes and opens a new instance of SqlConnection based on the supplied connectionString. The constructor uses the SqlConnection to initialize a new instance of the SqlBulkCopy class. |
![]() | SqlBulkCopy(String, SqlBulkCopyOptions) | Initializes and opens a new instance of SqlConnection based on the supplied connectionString. The constructor uses that SqlConnection to initialize a new instance of the SqlBulkCopy class. The SqlConnection instance behaves according to options supplied in the copyOptions parameter. |
