LogOff
This function is used to logoff a non-pooled ERP 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 ERP data connection is the default Source value.
Group: Enterprise Resource Planning Extensions
Syntax: [bValue =] ERP.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 = ERP.LogOff(1)
ERP.LogOff("SAP")