Delphi Examples: DbiCloseSession

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiCloseSession

Return to chapter overview

Close the current session.

Delphi users should use TSession.Close rather than directly calling dbiCloseSession. The method TSession.Close is defined as:

procedure TSession.Close;

 

The following code closes TSession Session:

 Session.Close;

 

Close the session associated with the handle.

Most Delphi users should use Session.Close or the TSession component. This example uses the following input:

 DbiCloseSession(hSes);

 

procedure fDbiCloseSession(hTmpSes: hDBISes);

begin

 Check(DbiCloseSession(hTmpSes));

end;