Dispose()
- Last UpdatedNov 25, 2015
- 1 minute read
Use the Dispose() method to instruct the SQLData Script Library to free all resources allocated for the transaction object and all commands that were added as part of this transaction.
Syntax
void Dispose()
Remarks
If the transaction is currently running, Dispose() automatically cancels the transaction before removing it.
The SQLData Script Library issues Dispose() calls for every command in the transaction.
If an ID has been retrieved for this command, you must call Dispose() or aaDBAccess.RemoveCommand().