SqlBulkCopy Constructor
.NET Framework 3.5
Initializes a new instance of the SqlBulkCopy class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SqlBulkCopy(SqlConnection) | Initializes a new instance of the SqlBulkCopy class using the specified open instance of SqlConnection. |
|
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. |
|
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. |