Obsolete object
CORBACurrent object is obsolete, because EAServer is no longer supported since PowerBuilder 2017.
The CORBACurrent service object provides information about the EAServer transaction associated with a calling thread and enables the caller to control the transaction. The CORBACurrent object supports most of the methods defined by the CORBACurrent interface.
CORBACurrent property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control |
CORBACurrent event |
Occurs |
---|---|
Constructor |
When the object is created |
Destructor |
When the object is destroyed |
CORBACurrent function |
Datatype returned |
Description |
---|---|---|
BeginTransaction (obsolete) in PowerScript Reference |
Boolean |
Creates a new transaction and associates it with the calling thread. |
ClassName in PowerScript Reference |
String |
Returns the class of the object. |
CommitTransaction (obsolete) in PowerScript Reference |
Integer |
Commits the transaction associated with the calling thread. |
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. |
GetStatus (obsolete) in PowerScript Reference |
Integer |
Returns the status of the transaction associated with the calling thread. |
GetTransactionName (obsolete) in PowerScript Reference |
String |
Returns a string describing the transaction associated with the calling thread. |
Init (obsolete) in PowerScript Reference |
Integer |
Initializes an instance of the CORBACurrent service object. |
PostEvent in PowerScript Reference |
Integer |
Adds an event to the end of the message queue for the object. |
ResumeTransaction (obsolete) in PowerScript Reference |
Integer |
Associates the transaction passed in with the calling thread. |
RollbackOnly (obsolete) in PowerScript Reference |
Integer |
Modifies the transaction associated with the calling thread so that the outcome is to roll back the transaction. |
RollbackTransaction (obsolete) in PowerScript Reference |
Integer |
Rolls back the transaction associated with the calling thread. |
SetTimeout (obsolete) in PowerScript Reference |
Boolean |
Sets the timeout value for the top-level transaction. The transaction is rolled back if it does not complete before the timeout expires. |
SuspendTransaction (obsolete) in PowerScript Reference |
Unsignedlong |
Suspends the transaction associated with the calling thread and returns a handle to the transaction. |
TriggerEvent in PowerScript Reference |
Integer |
Triggers a specified event in the object and executes the script for the event. |
TypeOf in PowerScript Reference |
Object |
Returns the type of the object. |