TIB_SessionBase Object
Properties Methods Events

Unit
IB_Session

Declaration
TIB_SessionBase = class(TComponent)

Description
This class encapsulates the GDS32.DLL instance by providing an object based interface to the InterBase API.

All of the supported InterBase API calls are accessed as public members of an instance to this class. They have been suppressed from this help file since they are fully documented in the Interbase API reference manual and online help files.

Please reference the IB_Header.PAS source file for all of the API declarations.

It also provides the capability to define custom error processing.

Introduced Public Properties
SQLCODE  Most recent SQLCODE interpreted as a result of a call to HandleException().

Introduced Public Methods
AlterUser   This method will add/modify/delete a user to the server specified.
ClientMonitorHooksIn   This function returns true if there are hooks engaged to monitor any activity created by calls to the OutputToMonitor() method.
Create   Raw access to the status code vector used in most all API calls.
CreateDatabase   This method is used to create an empty InterBase database file.
Destroy
GetBlobData   This function gets data from a BLOB ID and streams it into a memory buffer.
GetBlobSize   This method is used to get the dimensions of an open blob.
GetRowsAffected   This method will return affected rows for a statement handle if executed.
GetStatementPlan   This method will return a PLAN from a statement handle.
GetUserSec   This function is udes to construct the necessary user security structure for passing information to the server to add, modify and delete users from the server.
HandleException   This method is used to check the most recent errcode returned from an API call.
OutputToMonitor   This method sends a string to the the IB_Monitor output if it is accepting such input.
PutBlobData   This function created a new BLOB ID based on a binary data buffer.
RevertToOriginalHooks   This method is used by the IB_Monitor to remove its intercepting hooks so that the API calls are no longer diverted into the functions that feed the IB_Monitor output.

Introduced Public Events
OnError  Event used to handle and API errcode returned and customize behavior.