This provider-specific interface exists under the Session cotype in the OLE DB Provider for Microsoft Jet. The Session cotype is defined in Appendix D of the OLE DB Programmer's Reference, "Cotypes, Structures, and Enumerated Types."
IIdle is implemented only for the OLE DB Provider for Microsoft Jet.
Method | Description |
---|---|
Idle | Performs idle time database operations. |
Performs database cleanup and optimizations while waiting for user input.
HRESULT IIdle::Idle( ULONG dwFlags);
When waiting for user input, Idle is called so that the engine can perform periodic cleanup and optimization tasks. Such tasks include background query execution, page timeout, memory cleanup, and so on.