IDTSBulkInsertTask.CheckConstraints 属性

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

Gets or sets a value that indicates whether you want to enforce table and column check constraints.

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

语法

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

value = instance.CheckConstraints

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

属性值

类型:System.Boolean
true to enforce check constraints; false to ignore check constraints during bulk import operations.

注释

For more information, see BulkInsertTask.

请参阅

参考

IDTSBulkInsertTask 接口

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