Share via


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.

See Also

Columns and Tables Append Methods, Name Property Example (VB) | Keys Append Method, Key Type, RelatedColumn, RelatedTable and UpdateRule Properties Example (VB) | ParentCatalog Property Example (VB)

Applies To: Column Object | Group Object | Index Object | Key Object | Procedure Object | Property Object | Table Object | User Object | View Object