IDTSBulkInsertTask 接口
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Defines the properties and methods for the Bulk Insert task.
命名空间: Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
程序集: Microsoft.SqlServer.BulkInsertTask(在 Microsoft.SqlServer.BulkInsertTask.dll 中)
语法
声明
Public Interface IDTSBulkInsertTask
用法
Dim instance As IDTSBulkInsertTask
public interface IDTSBulkInsertTask
public interface class IDTSBulkInsertTask
type IDTSBulkInsertTask = interface end
public interface IDTSBulkInsertTask
IDTSBulkInsertTask 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
BatchSize | 基础结构。Gets or sets the number of rows in each batch. | |
CheckConstraints | 基础结构。Gets or sets a value that indicates whether you want to enforce table and column check constraints. | |
CodePage | 基础结构。Gets or sets the code page of the data in the data file. | |
DataFileType | 基础结构。Gets or sets a value from the DTSBulkInsert_DataFileType enumeration that indicates the data-type value to use in the load operation. | |
DestinationConnection | 基础结构。Gets or sets the name of the destination connection object. | |
DestinationTableName | 基础结构。Gets or sets the name of the destination table or view. | |
FieldTerminator | 基础结构。Gets or sets the field terminator for use in char and widechar data files. | |
FireTriggers | 基础结构。Gets or sets a value that indicates whether the insert triggers should be executed on the table during the operation. | |
FirstRow | 基础结构。Gets or sets the first row from which to start copying. | |
FormatFile | 基础结构。Gets or sets the full path of a format file. | |
KeepIdentity | 基础结构。Gets or sets a value that specifies how identity value or values in the imported data file are used for the identity column. | |
KeepNulls | 基础结构。Gets or sets a value that indicates whether empty columns should retain a nullnull 引用(在 Visual Basic 中为 Nothing) value during the bulk load operation, or insert default values into the columns. | |
LastRow | 基础结构。Gets or sets the number of the last row to copy. | |
MaximumErrors | 基础结构。Gets or sets the maximum number of errors that can occur before the bulk insert operation fails. | |
RowTerminator | 基础结构。Gets or sets the row terminator for use in char and widechar data files. | |
SortedData | 基础结构。Gets or sets the Order by clause in the bulk insert statement. | |
SourceConnection | 基础结构。Gets or sets the name of the source connection object. | |
TableLock | 基础结构。Gets or sets a value that indicates whether the table is locked during the bulk insert operation. | |
UseFormatFile | 基础结构。Gets or sets a value that indicates whether the Bulk Insert task uses a format file. |
页首
注释
For more information, see BulkInsertTask.