Partager via


Propriété IDTSBulkInsertTask.CheckConstraints

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
Assembly :  Microsoft.SqlServer.BulkInsertTask (en Microsoft.SqlServer.BulkInsertTask.dll)

Syntaxe

'Déclaration
Property CheckConstraints As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

For more information, see BulkInsertTask.

Voir aussi

Référence

IDTSBulkInsertTask Interface

Espace de noms Microsoft.SqlServer.Dts.Tasks.BulkInsertTask