Help Center

CADOParameter.Nameproperty

Sets or returns a string value that indicates the name of a **Parameter** object.

DatabasespropertyCADOCommand.incdocumented

Syntax

PROPERTY Name () AS DWSTRING
PROPERTY Name (BYREF wszName AS WSTRING)

Parameters

NameDescription
wszNameThe name of the Parameter object.

Return value

The name of the Parameter object.

Description

Sets or returns a string value that indicates the name of a Parameter object.

Remarks

For Parameter objects not yet appended to the Parameters collection, the Name property is read/write. For appended Parameter objects and all other objects, the Name property is read-only. Names do not have to be unique within a collection.

Reference

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