Release a session that was retrieved using Ora8Logon.
Ora8.bdh
Ora8Logoff( in hSvcCtx: number ): boolean;
true if successful
false otherwise. In this case, you can use the Ora8OciError function to retrieve the Oracle OCI error code
Parameter | Description |
---|---|
hSvcCtx | Valid service context handle established using the Ora8Logon function |
var ghEnv0 : number; ghError0 : number; ghSvcCtx0 : number; dcltrans transaction TMain begin Ora8Init(ghEnv0, OCI_DEFAULT); Ora8HandleAlloc(ghEnv0, ghError0, OCI_HTYPE_ERROR); Ora8Logon(ghEnv0, ghSvcCtx0, "user", "password", "orclnet2"); ... Ora8Logoff(ghSvcCtx0); Ora8HandleFree(ghError0, OCI_HTYPE_ERROR); Ora8HandleFree(ghEnv0, OCI_HTYPE_ENV); end TMain;