GetTransactionName (obsolete)
Description
Returns a string describing the EAServer transaction associated with
the calling thread.
Obsolete function
GetTransactionName is obsolete, because EAServer is no longer
supported since PowerBuilder 2017.
Applies to
CORBACurrent objects
Syntax
|
1 |
CORBACurrent.GetTransactionName ( ) |
|
Argument |
Description |
|---|---|
|
CORBACurrent |
Reference to the CORBACurrent service |
Return value
String.
Returns a printable string describing the transaction if a
transaction exists and an empty string otherwise.
Usage
The GetTransactionName function returns a string identifying the
transaction associated with the calling thread. This string is typically
used for debugging.
GetTransactionName can be called by a client or a component that is
marked as OTS style. EAServer must be using the two-phase commit
transaction coordinator (OTS/XA).
Examples
This example shows the use of GetTransactionName to return
information about a transaction to a client:
|
1 2 3 4 5 6 7 8 9 |
// Instance variables: // CORBACurrent corbcurr string ls_transacname // Get an instance of the CORBACurrent object // and initialize it ... ls_transacname = corbcurr.GetTransactionName() MessageBox("Transaction Name", ls_transacname) |
See also