Freigeben über


IQueryDataSourceVersionProvider Interface

Definition

IQueryDataSourceVersionProvider is a MEF contract provided by query data sources. It notifies the query engine when sources are updated, so the engine can rerun queries and produce updates. Version keys are expected to start with "ProviderName:", and each IQueryDataSourceInfoProvider MEF component must have a name matching it.

public interface IQueryDataSourceVersionProvider
type IQueryDataSourceVersionProvider = interface
Public Interface IQueryDataSourceVersionProvider

Methods

SubscribeChangeNotifications(IObserver<QueryDataSourceChangeNotification>)

Notifies the provider that an observer is to receive notifications.

TryGetVersion(String, Int64)

Gets the current source version number, if the versionKey exists.

Applies to