DB2®Transaction Methods
The methods of the DB2Transaction class are listed here. For a complete list of DB2Transaction class members, see the DB2Transaction Members topic.
Public Methods
| Method | Description |
|---|---|
Commit |
Commits the database transaction. |
CreateObjRef (inherited from MarshalByRefObject) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited
from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
InitializeLifetimeService (inherited
from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
Rollback |
Rolls back a transaction from a pending state. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected Methods
| Method | Description |
|---|---|
Dispose |
Releases the unmanaged resources used by the DB2Transaction. |
Finalize (inherited from Object) |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations
before the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited
from Object) |
Creates a shallow copy of the current Object. |