IDTSBulkInsertTask.KeepNulls 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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.

命名空间:  Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
程序集:  Microsoft.SqlServer.BulkInsertTask(在 Microsoft.SqlServer.BulkInsertTask.dll 中)

语法

声明
Property KeepNulls As Boolean 
    Get 
    Set
用法
Dim instance As IDTSBulkInsertTask 
Dim value As Boolean 

value = instance.KeepNulls

instance.KeepNulls = value
bool KeepNulls { get; set; }
property bool KeepNulls {
    bool get ();
    void set (bool value);
}
abstract KeepNulls : bool with get, set
function get KeepNulls () : boolean 
function set KeepNulls (value : boolean)

属性值

类型:System.Boolean
true if empty columns should retain a nullnull 引用(在 Visual Basic 中为 Nothing) value during the bulk load operation; false if the specified default values should be inserted instead.

注释

For more information, see BulkInsertTask.

请参阅

参考

IDTSBulkInsertTask 接口

Microsoft.SqlServer.Dts.Tasks.BulkInsertTask 命名空间