| title | Name Property (ADOX) | Microsoft Docs | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.prod | sql | |||||||||||||||||||||||||||
| ms.prod_service | connectivity | |||||||||||||||||||||||||||
| ms.technology | connectivity | |||||||||||||||||||||||||||
| ms.custom | ||||||||||||||||||||||||||||
| ms.date | 01/19/2017 | |||||||||||||||||||||||||||
| ms.reviewer | ||||||||||||||||||||||||||||
| ms.topic | conceptual | |||||||||||||||||||||||||||
| apitype | COM | |||||||||||||||||||||||||||
| f1_keywords |
|
|||||||||||||||||||||||||||
| helpviewer_keywords |
|
|||||||||||||||||||||||||||
| ms.assetid | 81b92baf-b6b9-4f4e-9f33-4503795518cd | |||||||||||||||||||||||||||
| author | MightyPen | |||||||||||||||||||||||||||
| ms.author | genemi |
Indicates the name of the object.
Sets or returns a String value.
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 ("").
Note
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.
| Column Object (ADOX) | Group Object (ADOX) | Index Object (ADOX) |
| Key Object (ADOX) | Procedure Object (ADOX) | Property Object (ADO) |
| Table Object (ADOX) | User Object (ADOX) | View Object (ADOX) |
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)