共用方式為


SmsBackgroundWorker Class

Runs an operation on a separate thread in Configuration Manager 2007.

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

Usage

'Usage
Dim instance As SmsBackgroundWorker

Syntax

'Declaration
Public Class SmsBackgroundWorker
    Implements IDisposable
public class SmsBackgroundWorker : IDisposable
public ref class SmsBackgroundWorker : IDisposable
public class SmsBackgroundWorker implements IDisposable
public class SmsBackgroundWorker implements IDisposable

Remarks

This class is used by QueryProcessorBase objects to provide thread support query results for asynchronous queries. For information about using this class, see How to Enumerate Through The Configuration Manager Site Control File Using Managed Code and How to Perform an Asynchronous Configuration Manager Query by Using Managed Code.

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.ManagementProvider.SmsBackgroundWorker

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

SmsBackgroundWorker Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
QueryProcessorBase Class

Other Resources

How to Enumerate Through The Configuration Manager Site Control File Using Managed Code
How to Perform an Asynchronous Configuration Manager Query by Using Managed Code