AdoConnection:Init()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoConnection Class >

AdoConnection:Init()

Previous pageReturn to chapter overviewNext page

Purpose

Create Object of type AdoConnection

 

Prototype

METHOD INIT ( ptrIf,bAddRef )  CLASS AdoConnection

 

Argument(s)

ptrIf        (Optional) Interface Pointer, Vo2Ado Object, IUnknown object, OleAutoObject or VoCom Idispatch_ object.   When omitted a new Connection is created

bAddRef        (Optional) Is it necessary to increment the usage count by calling AddRef

 

 

 

Description

The AdoConnection object can be created independantly of other objects.

 

Event handling

The AdoConnection Class can support events. You can set a default event handler for every Connection Object that gets created by calling the AdoConnectionEventClass() function with the name of the class to use for event handlers.

 

See Also

AdoConnection, AdoConnectionEventClass