Description

This method creates a new transaction object, adds it to the McDBTransactions collection, and returns the new instance.

Return Type

A McDBTransaction object.  
Value Meaning

HRESULT

 

Syntax

object.Add (Name)

The Add Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBTransactions.
NameRequired. A String value.

The unique McDBTransaction.Name to assign to the new McDBTransaction.

Remarks

New transactions are automatically registered with all open databases. Note that transactions created using this method will not fall out of scope until the collection is destroyed (i.e. when McDBLib shuts down).