IDTSBulkInsertTask.KeepIdentity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.