Share via


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

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

Syntax

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

Property Value

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

Remarks

For more information, see BulkInsertTask.

See Also

Reference

IDTSBulkInsertTask Interface

Microsoft.SqlServer.Dts.Tasks.BulkInsertTask Namespace