LogOff

This function is used to logoff a database connection. Note: this function does not need to be called by the user. The server will call it automatically when shutting down the session. The first database connection is the default Source value.

Group: Database Related Extensions


Syntax:

[bValue =] db.LogOff (vSource)

bValue     (Boolean) Optional – A True/False notification that the command processed successfully

vSource   (Variant) data source name (DSN) or the data source number

Example:

Dim bValue As Boolean

bValue = db.LogOff(1)

db.LogOff("SQL")