ADO » Parameter » Name

Syntax:
string = parameterobject.Name
Name = string

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

The Name property sets or returns a string that is the name of the Parameter object.
 
This property is read/write for Parameter objects that have not been appended to the Parameters Collection. However, the Name property becomes read-only after a Parameter object is appended to the Parameters Collection. Interestingly, names do not have to be unique in the Parameters Collection.
 
You can also set the name using the CreateParameter method of the Command object.

Examples

Code:
For Each objParameter In objCommand.Parameters
   Response.Write objParameter.Name & VBCRLF
Next

See Also: