ActiveConnection - property of the AdoRecordset object
Description:
The property returns or sets a definition for a connection if the connection is closed, or the current
Connection object if the connection is open.
The property returns or sets a
String or
Variant that contains the
Connection object associated with the
AdoRecordset object.
If the connection is closed, then this property sets or returns a definition for a connection.
Syntax:
Variant ActiveConnection
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var sConn = oRs.ActiveConnection;
// Reading from the property
Dim sConn
sConn = oRs.ActiveConnection
' Reading from the property