virtual bool CORow::OpenWithCmnd(IOpenRowset *pIOpenRowset, LPCOLESTR strSelect, DBPROPSET *pDBPropSet=NULL, ULONG nPropSets=1, REFGUID guidDialect=DBGUID_DEFAULT);
Return Value
true if successful; otherwise false.
Parameters
[in] pIOpenRowset:
A pointer to interface IOpenRowset. It can't be NULL.
[in] strSelect:
A uncode string to identify a URL address.
[in] pDBPropSet:
A pointer to an array of sets of rowset properties.
[in] nPropSets:
The size of the array of sets of rowset properties, pDBPropSet.
[in] guidDialect:
A GUID that specifies the syntax and general rules for the provider to use in parsing a statement strSelect.
Remark
Open a row through a command. Additionally, a row object can be opened with many other methods as shown in the example OleDB25 with use of interfaces IOpenRowset, IBindResource/IScopedOperations, ICreateRow, IGetRow and IRow.