IRowsetInfo provides information about a rowset.
When a consumer gets an interface pointer on a rowset, its first step usually is to determine the rowset’s capabilities by using IUnknown::QueryInterface. It may call GetProperties to learn the properties of the rowset that do not show up as distinct interfaces, such as the maximum number of active rows and how many rows can have pending updates at the same time.
IRowsetInfo also provides methods for retrieving objects associated with the rowset. GetSpecification gets the object (command or session) that created the rowset. GetReferencedRowset gets the rowset that is referenced by a bookmark-valued column.
Method | Description |
GetProperties | Returns the current setting of all properties supported by the rowset. |
GetReferencedRowset | Returns an interface pointer to the rowset to which a bookmark applies. |
GetSpecification | Returns an interface pointer on the object (command or session) that created the rowset. |
Returns the current settings of all properties supported by the rowset. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.
Returns an interface pointer to the rowset to which a bookmark or chapter applies. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.
Returns an interface pointer on the object (command or session) that created this rowset. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.