Prepare Abort Behavior Property

ADO and SQL Server

ADO and SQL Server

Prepare Abort Behavior Property

The Prepare Abort Behavior property indicates how aborting a transaction affects prepared commands.

Applies To
Connection Object
Syntax

object.Properties("Prepare Abort Behavior")

Parts

object

Expression that evaluates to an object in the Applies To list.

Returns

One of the following settings:

Constant Description
DBPROPVAL_CB_DELETE Aborting a transaction deletes prepared commands. The application must reprepare commands before executing them.
DBPROPAL_CB_PRESERVE Aborting a transaction preserves prepared commands. The application can reexecute commands without repreparing them.

Data Type

adInteger

Modifiable

Read-only

OLE DB Property

DBPROP_PREPAREABORTBEHAVIOR

See Also

Prepare Commit Behavior Property

Preserve on Abort Property

Preserve on Commit Property