Skip to main content

Close-Connection

Command Description

Close a database connection

Command Prototype

Database.CloseDB(objDatabase)

Parameter Description

ParameterRequiredTypeDefaultDescription
objDatabaseTrueexpressionobjDatabaseDatabase object, a database object created using the Create Database Object command (Database.CreateDB)

Demo

/* 
Intake:
dbtype--database object

Command prototype: Database.CloseDB(objDatabase)
*/

Database.CloseDB(objDatabase)