virtual bool CBulkRecord<T>::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 an interface IOpenRowset.

        [in] strSelect:

                A unicode string indicating a SQL statement.

        [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.

Remark

        Call this function to open a rowset from a given SQL statement through a command object.

CBulkRecord<T> Class Overview & Class Members