The ErrorIfFileExists property specifies or returns a value indicating whether an error is raised if a destination file already exists.
object.ErrorIfFileExists [= boolean]
Part | Description |
---|---|
object | Expression that evaluates to a DataPumpTransformWriteFile object |
boolean | Boolean that specifies whether an error is raised if the destination file already exists |
Boolean
Read/write
HRESULT GetErrorIfFileExists(VARIANT_BOOL* pRetVal);
HRESULT SetErrorIfFileExists(VARIANT_BOOL pRetVal);
If FALSE, the existing file is overwritten.
The property also can be referenced through the TransformServerProperties collection with the following code:
Set transprops = transform.TransformServerProperties
transprops("ErrorIfFileExists") [= boolean]