DTS Programming

DataFileNonOverwritable Property

The DataFileNonOverwritable property returns or sets a value indicating whether a data file message can overwrite an existing data file.

Applies To
DTSMessageQueueTask Object

Syntax

object.DataFileNonOverwritable [= value]

Part Description
object Expression that evaluates to a DTSMessageQueueTask object
value Boolean that specifies whether an existing data file can be overwritten

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDataFileNonOverwritable(VARIANT_BOOL *pRetVal);

HRESULT SetDataFileNonOverwritable(VARIANT_BOOL NewValue);

Remarks

The step fails if the data file already exists and DataFileNonOverwritable is TRUE. DataFileNonOverwritable is ignored if ReceiveMessageType is other than DTSMQMessageType_DataFile.

See Also

DTSMQMessageType

ReceiveMessageType Property

SaveDataFileName Property