--- title: "Property (Visual C++ Syntax Index with #import) | 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" dev_langs: - "C++" helpviewer_keywords: - "Property collection [ADO], Visual C++ syntax index with #import" ms.assetid: 80988ca7-f514-438d-bf6f-9390dfe93fc3 author: MightyPen ms.author: genemi --- # Property (Visual C++ Syntax Index with #import) ## Properties ``` long GetAttributes( ); void PutAttributes( long plAttributes ); __declspec(property(get=GetAttributes,put=PutAttributes)) long Attributes; _bstr_t GetName( ); __declspec(property(get=GetName)) _bstr_t Name; enum DataTypeEnum GetType( ); __declspec(property(get=GetType)) enum DataTypeEnum Type; _variant_t GetValue( ); void PutValue( const _variant_t & pval ); __declspec(property(get=GetValue,put=PutValue)) _variant_t Value; ``` ## See Also [Property Object (ADO)](../../../ado/reference/ado-api/property-object-ado.md)