AdoCommand:Init()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoCommand Class >

AdoCommand:Init()

Previous pageReturn to chapter overviewNext page

Purpose

Create Object of type AdoCommand

 

Prototype

METHOD INIT ( ptrIf,bAddRef )  CLASS AdoCommand

 

Argument(s)

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

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

 

Description

The AdoCommand object can be created independantly of other objects. There are two versions of AdoCommand objects available:

ADO 2.6 and above

ADO 2.0 and above

You can influence the version of the object that gets created by setting the Vo2Ado library version using the AdoSetAdoVersion function.

 

See Also

AdoCommand, AdoSetAdoVersion