Freigeben über


TableLock Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The TableLock property specifies whether to set table-level locking during the execution of a bulk-copy import command.

Syntax

object
.TableLock [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetTableLock(LPBOOL pRetVal);
HRESULT SetTableLock(BOOL NewValue);

Hinweise

TableLock is set to FALSE by default.

ms144024.note(de-de,SQL.90).gifHinweis:
TableLock can be used with Microsoft SQL Server 2005, SQL Server 2000, and SQL Server 7.0.

Applies To:

BulkCopy2 Object