The TraceESQL object provides information about a node in a trace file identified as an occurrence of an Embedded SQL (ESQL) statement. To access the extra properties of the TraceESQL object, you assign a TraceActivityNode object whose activity type is ActESQL! to the TraceESQL object.
The TraceESQL object has no events.
TraceESQL property |
Datatype |
Description |
---|---|---|
ActivityNode |
TraceActivity |
The value ActESQL! which identifies the activity represented by the node as an occurrence of an ESQL statement entry or exit. |
Category |
TraceCategory |
The category of the activity represented by the node. Values are: TraceIn! -- The node is the beginning of an activity that spans several statements. TraceOut! -- The node is the end of an activity that spanned several statements. |
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Name |
String |
The name of the ESQL statement. |
TimerValue |
Decimal |
The timer value (in seconds) when the activity occurred. |
TraceESQL function |
Datatype returned |
Description |
---|---|---|
ClassName in PowerScript Reference |
String |
Returns the name assigned to the object |
GetContextService in PowerScript Reference |
Integer |
Creates a reference to a context-specific instance of the specified service |
GetParent in PowerScript Reference |
PowerObject |
Returns a reference to the name of the parent object |
TypeOf in PowerScript Reference |
Object (enumerated) |
Returns the type of the object |