Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.26 KB

command-ado-for-visual-c-syntax.md

File metadata and controls

46 lines (42 loc) · 1.26 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords dev_langs apitype
Command (ADO for Visual C++ Syntax)
Command (ADO for Visual C++ Syntax)
rothja
jroth
01/19/2017
sql
ado
reference
Command collection [ADO], ADO for Visual C++ syntax
C++
COM

Command (ADO for Visual C++ Syntax)

Methods

Cancel(void)  
CreateParameter(BSTR Name, DataTypeEnum Type, ParameterDirectionEnum Direction, long Size, VARIANT Value, _ADOParameter **ppiprm)  
Execute(VARIANT *RecordsAffected, VARIANT *Parameters, long Options, _ADORecordset **ppirs)  

Properties

get_ActiveConnection(_ADOConnection **ppvObject)  
put_ActiveConnection(VARIANT vConn)  
putref_ActiveConnection(_ADOConnection *pCon)  
get_CommandText(BSTR *pbstr)  
put_CommandText(BSTR bstr)  
get_CommandTimeout(LONG *pl)  
put_CommandTimeout(LONG Timeout)  
get_CommandType(CommandTypeEnum *plCmdType)  
put_CommandType(CommandTypeEnum lCmdType)  
get_Name(BSTR *pbstrName)  
put_Name(BSTR bstrName)  
get_Prepared(VARIANT_BOOL *pfPrepared)  
put_Prepared(VARIANT_BOOL fPrepared)  
get_State(LONG *plObjState)  
get_Parameters(ADOParameters **ppvObject)  

See Also

Command Object (ADO)