Navigation:  ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Command > ADODB_Command Properties >

<ADODB_Command>.ActiveConnection

Previous pageReturn to chapter overviewNext page

 

Description

 
Sets or returns a definition for a connection if the connection is closed, or the current Connection object if the connection is open

 

Syntax

 

GET

object = <ADODB_Command>.ActiveConnection

 

SET

<ADODB_Command>.ActiveConnection = ADODB_Connection

 

Returns

 

Object: current ADODB_Connection object.

 

Parameters

 

Name

Type

Optional

Meaning

ADODB_Connection

Object

Yes

An ADODB_Connection object

 

 

Remarks

 

Restrictions

 

See also

 

Examples