Delen via


QueryProcessorBase.ProcessQuery Method (SmsBackgroundWorker, String, Generic Dictionary)

Processes the specified query by using a background worker object and a dictionary of context objects.

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

Usage

'Usage
Dim instance As QueryProcessorBase
Dim worker As SmsBackgroundWorker
Dim query As String
Dim contextInformation As Dictionary(Of String, Object)

instance.ProcessQuery(worker, query, contextInformation)

Syntax

'Declaration
Public Overridable Sub ProcessQuery ( _
    worker As SmsBackgroundWorker, _
    query As String, _
    contextInformation As Dictionary(Of String, Object) _
)
public virtual void ProcessQuery (
    SmsBackgroundWorker worker,
    string query,
    Dictionary<string,Object> contextInformation
)
public:
virtual void ProcessQuery (
    SmsBackgroundWorker^ worker, 
    String^ query, 
    Dictionary<String^, Object^>^ contextInformation
)
public void ProcessQuery (
    SmsBackgroundWorker worker, 
    String query, 
    Dictionary<String,Object> contextInformation
)
public function ProcessQuery (
    worker : SmsBackgroundWorker, 
    query : String, 
    contextInformation : Dictionary<String,Object>
)

Parameters

  • query
    [in] Name of a query file.
  • contextInformation
    [in] System.Collections.Generic.Dictionary object that represents System.Object instances for context information.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

QueryProcessorBase Class
QueryProcessorBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
SmsBackgroundWorker