Skip to content

Latest commit

 

History

History
43 lines (41 loc) · 1.32 KB

File metadata and controls

43 lines (41 loc) · 1.32 KB
title Command Object Interfaces | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
command object interfaces [C++]
command objects [OLE DB]
OLE DB [C++], command object interfaces
ms.assetid dacff5ae-252c-4f20-9ad7-4e602cc48536
caps.latest.revision 10
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

Command Object Interfaces

The command object uses the IAccessor interface to specify parameter bindings. The consumer calls IAccessor::CreateAccessor, passing it an array of DBBINDING structures. DBBINDING contains information about the column bindings (such as type and length). The provider receives the structures and determines how the data should be transferred and whether conversions are necessary.

The ICommandText interface provides a way to specify a text command. The ICommandProperties interface handles all the command properties.

See Also

OLE DB Provider Template Architecture