Shuts down a connection to an Oracle database. When a program establishes multiple simultaneous active connections, separate OraLogoff function calls must be performed for each active connection.
Ora.bdh
OraLogoff( in hConnection : number ): boolean;
true if successful
false otherwise. In this case, you can use the OraOciError function to retrieve the Oracle OCI error code
Parameter | Description |
---|---|
hConnection | Valid handle to a database connection established using the OraLogon function |
var hConnection : number; cCursor : cursor; dcltrans transaction TMain begin OraLogon(hConnection, "user", "password", "orclnet2"); OraOpen(cCursor, hConnection); ... OraLogoff(hConnection); end TMain;
OraArrayFetch.bdf, OraSample.bdf, OraLoadPers.bdf