The KeepNulls property returns or sets a value indicating whether NULL columns should keep NULL values even if defaults exists on destination columns.
object.KeepNulls [= value]
Part | Description |
---|---|
object | Expression that evaluates to a BulkInsertTask object |
value | A value indicating whether NULL columns keep NULL values |
The default is FALSE, which causes the database to assign the default value upon insertion.
Boolean
Read/write
HRESULT GetKeepNulls(VARIANT_BOOL *pRetVal);
HRESULT SetKeepNulls(VARIANT_BOOL NewValue);