The Disconnect method closes a connection to the data source. This is typically used in the OpenDataSource script of a Database object prior to calling the Connect method to ensure any existing connection is closed before opening a new one.


Disconnect() as Boolean


Return Value
True if the connection was successfully closed, False if not.

See the example in the Connect topic.

See also

Connect | Database Object | OpenDataSource | Select

© Stonefield Software Inc., 2018 • Updated: 06/06/16
Comment or report problem with topic