Skip to content

Latest commit

 

History

History
72 lines (64 loc) · 3.35 KB

File metadata and controls

72 lines (64 loc) · 3.35 KB
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
_Table::PutName
_Table::GetName
_Key::Name
_Key::get_Name
_Column::GetName
_Index::Name
_Index::put_Name
_Column::PutName
_Key::put_Name
_Table::put_Name
_User25::PutName
_Index::get_Name
_Column::get_Name
_Group25::Name
_Group25::get_Name
_Column::Name
_User25::get_Name
_Table::Name
_Group25::GetName
_Index::PutName
_Column::put_Name
_Key::GetName
_Table::get_Name
_User25::Name
_User25::put_Name
_Index::GetName
_User25::GetName
helpviewer_keywords
Name property [ADOX]
ms.assetid 81b92baf-b6b9-4f4e-9f33-4503795518cd
author MightyPen
ms.author genemi

Name Property (ADOX)

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 ("").

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.

Applies To

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)

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)