GetTransaction()
- Last UpdatedNov 25, 2015
- 1 minute read
Use the GetTransaction() method to obtain a reference to an aaDBTransaction object created previously in the same or a different script. Do not create a new aaDBConnection object to access a previously created transaction.
Syntax
aaDBTransaction GetTransaction(
string TransactionID)
Parameters
TransactionID
The ID is generated internally by the SQLData Script Library. See GetID() on page 89.
Remarks
If TransactionID does not represent a valid ID, GetTransaction() returns a null reference.