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 to retrieve the ID of an aaDBCommand object instance for use in a different script or scan. The SQLData Script Library generates a unique command object ID, which remains unique across all scripts on the engine.

Syntax

string GetId()

Return value

On failure, this method returns the value Null.

Remarks

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 type other than string, the ID is corrupted and does not work in future GetCommand(ID) calls.

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