共用方式為


SmsBackgroundWorker.QueryProcessorObjectsReady Event

Notifies that query processor objects are ready.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As SmsBackgroundWorker
Dim handler As EventHandler(Of QueryProcessorObjectsEventArgs)

AddHandler instance.QueryProcessorObjectsReady, handler

Syntax

'Declaration
Public Event QueryProcessorObjectsReady As EventHandler(Of QueryProcessorObjectsEventArgs)
public event EventHandler<QueryProcessorObjectsEventArgs> QueryProcessorObjectsReady
public:
event EventHandler<QueryProcessorObjectsEventArgs^>^ QueryProcessorObjectsReady {
    void add (EventHandler<QueryProcessorObjectsEventArgs^>^ value);
    void remove (EventHandler<QueryProcessorObjectsEventArgs^>^ value);
}
/** @event */
public void add_QueryProcessorObjectsReady (EventHandler<QueryProcessorObjectsEventArgs> value)

/** @event */
public void remove_QueryProcessorObjectsReady (EventHandler<QueryProcessorObjectsEventArgs> value)

Remarks

This event is fired when a complete batch of query results is available. The last batch might be a partial batch.

Arguments for this event are represented by a QueryProcessorObjectsEventArgs object.

Views can subscribe to this event to get called to supply actions for the query processor in the event handler.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsBackgroundWorker Class
SmsBackgroundWorker Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
QueryProcessorObjectsEventArgs Class
SmsBackgroundWorker.ProcessQueryItemCount Property