Help Center

CADOParameter.Attachmethod

Attaches a reference to an ADO **Parameter** object to the class.

DatabasesmethodCADOCommand.incdocumented

Syntax

SUB Attach (BYVAL pParameter AS Afx_ADOParameter PTR, BYVAL fAddRef AS BOOLEAN = FALSE)

Parameters

NameDescription
pParameterA reference to a Parameter object.
fAddRefTRUE = increase the reference count; FALSE = don't increase the reference count.

Description

Attaches a reference to an Parameter object to the class.

Reference

  • Include file CADOCommand.inc
  • Defined in AfxNova/CAdoParameters.inc:132
  • Documented in Databases/ADO Classes/CAdoCommand Class.md
  • Topic: CAdoCommand Class