Microsoft.SqlServer.BulkInsertTask
The namespace contains the members used by the Bulk Insert Task.
Provides the properties and methods for the Bulk Insert task, which is the quickest way to copy large amounts of data into a SQL Server table or view. This class cannot be inherited.
Initializes a new instance of the class.
Called by the run-time engine when a task or container is created, and is passed a to enable the task to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code.
The breakpoint manager specific to this task.
Runs the Bulk Insert task.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
The transaction object that the container is a part of. This value can be null.
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
A collection that contains events to be raised during execution of the task.
A collection of log entries.
An object reference tracker.
This method is not callable by your application code. To load a package saved as .xml, use the method.
The node that contains the information to be loaded.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
This method is not callable by your application code. To save a package as .xml, use the method.
The XML document to save the information to.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
Indicates that the executable needs to suspend. This method is called by the runtime engine.
Verifies that the Bulk Insert task component is correctly configured.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
Gets or sets the number of rows in each batch.
A Long that indicates the number of rows in each batch.
Gets or sets a Boolean that indicates if you want to enforce table and column check constraints.
true to enforce check constraints; false to ignore check constraints during bulk import operations.
Gets or sets the code page of the data in the data file.
A String that indicates the code page of the data in the data file.
Gets or sets a value from the enumeration that indicates the data-type value to use in the load operation.
A value from the enumeration that indicates the data-type value to use in the load operation.
Gets or sets a Boolean that indicates whether a task should determine whether breakpoints are enabled.
true if the task should determine whether breakpoints are enabled; false if the task can ignore all breakpoints.
Gets or sets the name of the destination connection object.
A String that contains the name of the of the destination connection object.
Gets or sets the name of the destination table or view.
A String that contains the name of the destination table or view.
Gets or sets the field terminator for use in char and widechar data files.
A String that indicates the field terminator for use in char and widechar data files.
Gets or sets a Boolean that indicates whether the insert triggers should be executed on the table during the operation.
true if the insert triggers should be executed on the table during the operation; false if triggers are ignored.
Gets or sets the first row from which to start copying.
A Long that indicates the number of the first row to load.
Gets or sets the full path of a format file.
A String that indicates the path of the format file.
Gets or sets a Boolean that specifies how identity value or values in the imported data file are used for the identity column
true if identity value or values in the imported data file should be used for the identity column. true assigns the values that are specified in the source file to the identity column; false ignores the identity-column values that are specified in the source. The default value is true.
Gets or sets a Boolean that indicates whether empty columns should retain a null value during the bulk load operation, or insert default values into the columns.
true if empty columns should retain a null value during the bulk load operation; false if the specified default values should be inserted instead.
Gets or sets the number of the last row to copy.
A Long that contains the number of the last row to copy.
Gets or sets the maximum number of errors that can occur before the bulk insert operation fails.
A Long that indicates the maximum number of errors that can occur before the bulk load operation fails.
Gets or sets the row terminator for use in char and widechar data files.
A String that specifies the row terminator for use in char and widechar data files.
Gets or sets the Order by clause in the bulk insert statement
A String that contains the Order by clause used to sort the data.
Gets or sets the name of the source connection object.
A String that contains the name of the source connection object.
Gets a String array that contains the Transact-SQL statement to run.
A String array that contains the Transact-SQL statement to run.
Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
true if the task suspends when it encounters a breakpoint.
Gets or sets a Boolean that indicates whether the table is locked during the bulk insert operation.
true if you want to lock the table during the bulk insert; false if you do not want to lock it.
Gets or sets a Boolean that indicates whether the Bulk Insert task uses a format file.
true if the Bulk Insert task uses a format file.
Defines the type of file that provides the source data.
Character format (default value).
Native (database) data types. Create the native data file by bulk copying data from SQL Server using the bcp utility.
Unicode characters.
Native (database) data types, except in char, varchar, and text columns, which store data as Unicode. Create the widenative data file by bulk copying data from SQL Server using the bcp utility.