IPersistQuery interface (cmnquery.h)
The IPersistQuery interface is used to store and retrieve query parameters to and from persistent storage.This storage pertains to the query parameters, not the results of a query. A pointer to this interface is provided to a query form extension in the CQPM_PERSIST message. An application can also provide its own IPersistQuery implementation by passing a pointer to this interface to the query handler in the pPersistQuery member of the OPENQUERYWINDOW structure when ICommonQuery::OpenQueryWindow is called.
The IPersistQuery interface inherits from IPersist. IPersistQuery also has these types of members:
The IPersistQuery interface has these methods.
Empties the contents of the query store.
Reads an integer value from the query store.
Reads a string from the query store.
Reads a structure from the query store.
Writes an integer value to the query store.
Writes a string to the query store.
Writes a structure to the query store.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|