Свойство IDTSBulkInsertTask.KeepIdentity

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Gets or sets a value that specifies how identity value or values in the imported data file are used for the identity column.

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
Сборка:  Microsoft.SqlServer.BulkInsertTask (в Microsoft.SqlServer.BulkInsertTask.dll)

Синтаксис

'Декларация
Property KeepIdentity As Boolean 
    Get 
    Set
'Применение
Dim instance As IDTSBulkInsertTask 
Dim value As Boolean 

value = instance.KeepIdentity

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

Значение свойства

Тип: System.Boolean
true if identity value or values in the imported data file should be used for the identity column. true assigns the values that are specified in the source file to the identity column; false ignores the identity-column values that are specified in the source. The default value is true.

Замечания

For more information, see BulkInsertTask.

См. также

Справочник

IDTSBulkInsertTask Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Tasks.BulkInsertTask