PromptDelete Property

       

Specifies whether a confirmation displays when an object is deleted.

Syntax

object.PromptDelete [=Boolean]

The PromptDelete property syntax has these parts:

Part Description
object An object expression that evaluates to an item in the Applies To list.
Boolean A Boolean expression that specifies whether a confirmation dialog box displays when an object within a DataEnvironment object is deleted.

Remarks

This property corresponds to the Confirm Delete check box in the Options dialog box and is specific to your system. Therefore, changing it for one DataEnvironment object automatically changes it for all DataEnvironment objects on your system.

When removing objects using the Data Environment Extensibility Object Model, first set the PromptDelete property to False to prevent the confirmation dialog box from appearing.