Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.25 KB

File metadata and controls

49 lines (36 loc) · 2.25 KB
title ADO for Visual C++ Syntax Index for COM | 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
ADO for Visual C++ syntax [ADO]
syntax indexes [ADO], ADO for Visual C++ syntax
ms.assetid d02b199e-1e52-4cc9-b118-750952ae7f63
author MightyPen
ms.author genemi

ADO for Visual C++ Syntax Index for COM

This index is a cross-reference to the ADO Language Reference based on Microsoft Visual C++.

If you use the #import directive in your application, a header file will be generated that will enable you to use syntax similar to Microsoft Visual Basic. Property names of the form get_PropertyName and put_PropertyName can be treated as if they were declared simply as PropertyName. A property can then be treated like a data member instead of a function.

All of the methods, properties, and events are functions that return an HRESULT, which you can test to determine if the function executed successfully.

Method and property syntax in Visual C++ is listed for the following elements:

See Also

ADO for Visual C++ Syntax Index with #import
Microsoft ActiveX Data Objects (ADO)