virtual bool CORow::OpenRowset(CRBase *pRBase, LPOLESTR strTblName, LPOLESTR strIdxName=NULL, DBPROPSET *pDBPropSet=NULL, ULONG nPropSets);
virtual bool CORow::OpenRowset(LPOLESTR strTblName, CRBase *pRBase, LPOLESTR strIdxName=NULL, int nCursor=Static, bool bReadOnly=false, bool bBatch=false, bool bScrollback=false, bool bBookmark=false, const DBPROPSET* pDBPropSet=NULL);

Return Value

        true if successful; otherwise false.

Parameters

        [in] pRBase:

                A pointer to a valid CRBase based object.

        [in] strTblName:

               An absolute or relative URL. It can be NULL.

        [in] strIdxName:

                Must be NULL.

        [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] nCursor:

                A cursor type.

        [in] bReadOnly:

                A boolean value to determine the resultant rowset can be updateable.

        [in] bBatch:

                A boolean value to determine the resultant rowset can be updateable in delay/batch mode.

        [in] bScrollback:

                A boolean value to determine if the cursor can scroll both back and forward.

        [in] bBookmark:

                A boolean value to determine if the resultant rowset exposes interface IRowsetLocate.

Remark

        Opens a rowset containing the child rows of the current row or of a URL-named row within the scope of the current row. Refers to IScopedOperations::OpenRowset.

CORow Class Overview & Class Members