Share via


IDTSBulkInsertTask.KeepIdentity Property

Definition

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

public:
 property bool KeepIdentity { bool get(); void set(bool value); };
public bool KeepIdentity { get; set; }
member this.KeepIdentity : bool with get, set
Public Property KeepIdentity As Boolean

Property Value

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.

Remarks

For more information, see BulkInsertTask.

Applies to