Share via


IDTSBulkInsertTask.CheckConstraints Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
Assembly:  Microsoft.SqlServer.BulkInsertTask (in Microsoft.SqlServer.BulkInsertTask.dll)

Syntax

'Declaration
Property CheckConstraints As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

For more information, see BulkInsertTask.

See Also

Reference

IDTSBulkInsertTask Interface

Microsoft.SqlServer.Dts.Tasks.BulkInsertTask Namespace