Skip to content

Latest commit

 

History

History
73 lines (63 loc) · 1.86 KB

File metadata and controls

73 lines (63 loc) · 1.86 KB
title BEGIN_ACCESSOR | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
BEGIN_ACCESSOR
dev_langs
C++
helpviewer_keywords
BEGIN_ACCESSOR macro, syntax
BEGIN_ACCESSOR macro
ms.assetid 59d0ff3e-7cfd-4ce8-9a1c-d664c0892a52
caps.latest.revision 8
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

BEGIN_ACCESSOR

Marks the beginning of an accessor entry.

Syntax

  
BEGIN_ACCESSOR(  
num  
,   
bAuto  
 )  
  

Parameters

num
[in] The zero-offset number for the accessor in this accessor map.

bAuto
[in] Specifies if this accessor is an auto accessor or a manual accessor. If true, the accessor is auto; if false, the accessor is manual. An auto accessor means data is fetched for you on move operations.

Remarks

In the case of multiple accessors on a rowset, you need to specify BEGIN_ACCESSOR_MAP and use the BEGIN_ACCESSOR macro for each individual accessor. The BEGIN_ACCESSOR macro is completed with the END_ACCESSOR macro. The BEGIN_ACCESSOR_MAP macro is completed with the END_ACCESSOR_MAP macro.

Example

See BEGIN_ACCESSOR_MAP.

Requirements

Header: atldbcli.h

See Also

Macros and Global Functions for OLE DB Consumer Templates
BEGIN_ACCESSOR_MAP
END_ACCESSOR
END_ACCESSOR_MAP