Name Property (ADOX)

Microsoft ActiveX Data Objects (ADO)

Name Property

       

Indicates the name of the object.

Settings and Return Values

Sets or returns a String value.

Remarks

Names do not have to be unique within a collection.

The Name property is read/write on Column, Group, Key, Index, Table, and User objects. The Name property is read-only on Catalog, Procedure, and View objects.

For read/write objects (Column, Group, Key, Index, Table and User objects), the default value is an empty string ("").

Notes

  • For keys, this property is read-only on Key objects already appended to a collection.

  • For tables, this property is read-only for Table objects already appended to a collection.