SetChapter

virtual HCHAPTER SetChapter(
HCHAPTER hchapter);

Parameter

hchapter

Handle to a hierarchical chapter. When the chapter is set to NULL, all rowset operations act on the attached rowset instead of the chapter rowset.

Comments

The SetChapter method returns the handle to the old chapter.

It sets the hierarchical chapter handle. The chapter must be retrieved from a chapter column of the attached rowset. The given chapter handle is used for all interface methods requiring a chapter handle. See the OLE DB Programmer’s Reference for more information about hierarchical chapters.