2.2.2.20 RopSetCollapseState ROP
The RopSetCollapseState ROP ([MS-OXCROPS] section 2.2.5.19) rebuilds a table's collapsed state, which is specified by the data returned from a RopGetCollapseState ROP ([MS-OXCROPS] section 2.2.5.18). The RopSetCollapseState ROP response contains a Bookmark field that references the row that was identified by the RowId and RowInstanceNumber fields in the RopGetCollapseState ROP request. This ROP is valid only on Table objects.
The collapsed state sent to the server need not have been retrieved from the same table to which it is being applied. The table MUST have the same sort and restriction for the ROP to succeed. If the table is not the same table from which the collapse state was retrieved, the value of the Bookmark field specified in the RopSetCollapseState ROP response will be invalid. The bookmark returned MUST be freed by using the RopFreeBookmark ROP ([MS-OXCROPS] section 2.2.5.14).
The complete syntax of the ROP request and response buffers for this ROP is specified in [MS-OXCROPS]. This section specifies the syntax and semantics of various fields that are not fully specified in [MS-OXCROPS].