DTS Programming
ErrorIfFileExists Property
The ErrorIfFileExists property specifies or returns a value indicating whether an error is raised if a destination file already exists.
Applies To
DataPumpTransformWriteFile Object |
Syntax
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 |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetErrorIfFileExists(VARIANT_BOOL* pRetVal);
HRESULT SetErrorIfFileExists(VARIANT_BOOL pRetVal);
Remarks
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]