Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

GetID()

  • Last UpdatedJul 22, 2024
  • 1 minute read

Use the GetID() method if you want to retrieve the ID of an aaDBTransaction object instance to get a reference to this object at a later time in a different script or scan.

The SQLData Script Library generates a unique transaction ID and persists the transaction object in memory.

Syntax

string GetID()

Return value

If a failure occurs, the GetID() method returns null.

Note: The SQLData Script Library returns a string value, but the script engine automatically attempts to cast this value to other types. If the script assigns the returned ID to any other type than string, the ID is corrupted and does not work in future GetTransaction(ID) calls.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in