Compartilhar via


Propriedade do RDL IDTSBulkInsertTask.KeepIdentity

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

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

Sintaxe

'Declaração
Property KeepIdentity As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: 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.

Comentários

For more information, see BulkInsertTask.

Consulte também

Referência

IDTSBulkInsertTask Interface

Namespace Microsoft.SqlServer.Dts.Tasks.BulkInsertTask