PROPERTY: Parameter::Name

string = parameterobject.Name
parameterobject.Name = string
 
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.
 
Code (VBScript):
For Each objParameter In objCommand.Parameters
   Response.Write objParameter.Name & VBCRLF
Next

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information