IRowsetPrioritization interface (searchapi.h)
Sets or retrieves the current indexer prioritization level for the scope specified by this query.
The IRowsetPrioritization interface inherits from the IUnknown interface. IRowsetPrioritization also has these types of members:
The IRowsetPrioritization interface has these methods.
Retrieves the current indexer prioritization level for the scope specified by this query.
Gets information describing the scope specified by this query.
Sets the current indexer prioritization level for the scope specified by this query.
This interface is acquired with IUnknown::QueryInterface Method on an indexer rowset. DBPROP_ENABLEROWSETEVENTS must be set to TRUE with the OLE DB ICommandProperties::SetProperties method prior to executing the query in order to use rowset prioritization.
IRowsetPrioritization::SetScopePriority sets the prioritization for the scopes belonging to the query, and the interval the scope statistics event is raised when there are outstanding documents to be indexed within the query scopes. This event is raised if the priority level is set to default.
IRowsetPrioritization::GetScopeStatistics can be used to get the number of indexed items in the scope, the number of outstanding documents to be added in the scope, and the number of documents that need to be re-indexed within this scope.
For a sample that demonstrates how to prioritize indexing events, see the SearchEvents sample.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|