The KeepIdentity property indicates whether the data in the file is used for the values of identity columns.
object.KeepIdentity [= value]
Part | Description |
---|---|
object | Expression that evaluates to a BulkInsertTask object |
value | A value indicating whether the data in the file is used for the values of identity columns |
Boolean
Read/write
HRESULT GetKeepIdentity(VARIANT_BOOL *pRetVal);
HRESULT SetKeepIdentity(VARIANT_BOOL NewValue);
The default is FALSE, which causes the database to assign values to identity columns upon insertion.