--- title: "ADO for 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: - "syntax indexes [ADO], ADO for Visual C++ syntax with #import" - "ADO for Visual C++ syntax with #import [ADO]" - "#import [ADO]" ms.assetid: 5930ccd2-5bab-448a-b0bf-773b8a83e87c author: MightyPen ms.author: genemi --- # ADO for Visual C++ Syntax Index with #import This index is a cross-reference to the ADO Language Reference based on Microsoft Visual C++ and the **#import** directive. This particular index was derived by compiling a program with the **#import** directive against the ADO .dll, then reformatting the \*.tlh file that was generated. Only information about methods, properties, and events was preserved. The alternative syntax declared for each property is listed by the corresponding "`__declspec(property...)`" directive. You are strongly encouraged to read [Visual C++ ADO Programming](../../../ado/guide/appendixes/visual-c-ado-programming.md) for more information. Method and property syntax in Visual C++ with the **#import** directive is listed for the following elements: - [ADO Collections](../../../ado/reference/ado-api/collections-visual-c-syntax-index-with-sharpimport.md) - [Command Object](../../../ado/reference/ado-api/command-visual-c-syntax-index-with-sharpimport.md) - [Connection Object](../../../ado/reference/ado-api/connection-visual-c-syntax-index-with-sharpimport.md) - [Error Object](../../../ado/reference/ado-api/error-visual-c-syntax-index-with-sharpimport.md) - [Field Object](../../../ado/reference/ado-api/field-visual-c-syntax-index-with-sharpimport.md) - [Parameter Object](../../../ado/reference/ado-api/parameter-visual-c-syntax-index-with-sharpimport.md) - [Property object](../../../ado/reference/ado-api/property-visual-c-syntax-index-with-sharpimport.md) - [Record Object](../../../ado/reference/ado-api/record-visual-c-syntax-index-with-sharpimport.md) - [Recordset Object](../../../ado/reference/ado-api/recordset-visual-c-syntax-index-with-sharpimport.md) - [Stream Object](../../../ado/reference/ado-api/stream-visual-c-syntax-index-with-sharpimport.md) - [Connection Events](../../../ado/reference/ado-api/connectionevents-visual-c-syntax-index-with-sharpimport.md) - [Recordset Events](../../../ado/reference/ado-api/recordsetevents-visual-c-syntax-index-with-sharpimport.md) ## See Also [ADO for Visual C++ Syntax Index for COM](../../../ado/reference/ado-api/ado-for-visual-c-syntax-index-for-com.md)