Partager via


Propriété IDTSBulkInsertTask.TableLock

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 the table is locked during the bulk insert operation.

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

Syntaxe

'Déclaration
Property TableLock As Boolean 
    Get 
    Set
'Utilisation
Dim instance As IDTSBulkInsertTask 
Dim value As Boolean 

value = instance.TableLock

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

Valeur de propriété

Type : System.Boolean
true if you want to lock the table during the bulk insert; false if you do not want to lock it.

Notes

For more information, see BulkInsertTask.

Voir aussi

Référence

IDTSBulkInsertTask Interface

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