_Command (ADO for VC++ 语法)

目录

方法

Cancel(void);

CreateParameter(BSTR Name, DataTypeEnum Type,
ParameterDirectionEnum Direction, long Size, VARIANT Value,
_ADOParameter **ppiprm);

Execute(VARIANT *RecordsAffected, VARIANT *Parameters, long Options,
_ADORecordset **ppirs);

属性

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);

www.holmesian.org