Delen via


QueryProcessorBase.ProcessQuery Method (SmsBackgroundWorker, String, Object)

Processes the specified query by using a background worker object and a tag that identifies the data to process.

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 tag As Object

instance.ProcessQuery(worker, query, tag)

Syntax

'Declaration
Public Overridable Sub ProcessQuery ( _
    worker As SmsBackgroundWorker, _
    query As String, _
    tag As Object _
)
public virtual void ProcessQuery (
    SmsBackgroundWorker worker,
    string query,
    Object tag
)
public:
virtual void ProcessQuery (
    SmsBackgroundWorker^ worker, 
    String^ query, 
    Object^ tag
)
public void ProcessQuery (
    SmsBackgroundWorker worker, 
    String query, 
    Object tag
)
public function ProcessQuery (
    worker : SmsBackgroundWorker, 
    query : String, 
    tag : Object
)

Parameters

  • query
    [in] Name of a query file.
  • tag
    [in] System.Object instance that indicates a data tag.

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