다음을 통해 공유


MSFT_Providers class

The MSFT_Providers class contains configuration information for providers.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("Msft_ProviderSubSystem"), AMENDMENT]
class MSFT_Providers
{
  string HostingGroup;
  uint32 HostingSpecification;
  string HostingProcessIdentifier;
  string Locale;
  string Namespace;
  string Provider;
  uint64 ProviderOperation_AccessCheck;
  uint64 ProviderOperation_CancelQuery;
  uint64 ProviderOperation_CreateClassEnumAsync;
  uint64 ProviderOperation_CreateInstanceEnumAsync;
  uint64 ProviderOperation_CreateRefreshableEnum;
  uint64 ProviderOperation_CreateRefreshableObject;
  uint64 ProviderOperation_CreateRefresher;
  uint64 ProviderOperation_DeleteClassAsync;
  uint64 ProviderOperation_DeleteInstanceAsync;
  uint64 ProviderOperation_ExecMethodAsync;
  uint64 ProviderOperation_ExecQueryAsync;
  uint64 ProviderOperation_FindConsumer;
  uint64 ProviderOperation_GetObjectAsync;
  uint64 ProviderOperation_GetObjects;
  uint64 ProviderOperation_GetProperty;
  uint64 ProviderOperation_NewQuery;
  uint64 ProviderOperation_ProvideEvents;
  uint64 ProviderOperation_PutClassAsync;
  uint64 ProviderOperation_PutInstanceAsync;
  uint64 ProviderOperation_PutProperty;
  uint64 ProviderOperation_QueryInstances;
  uint64 ProviderOperation_SetRegistrationObject;
  uint64 ProviderOperation_StopRefreshing;
  uint64 ProviderOperation_ValidateSubscription;
  string TransactionIdentifier;
  string User;
  Uint32 HostProcessIdentifier;
};

Members

The MSFT_Providers class has these types of members:

Methods

The MSFT_Providers class has these methods.

Method Description
Load Loads a specific instance of a provider.
Resume Resumes execution of suspended providers.
Suspend Suspends execution of providers.
UnLoad Unloads the COM server associated with a specific instance of a provider.

Properties

The MSFT_Providers class has these properties.

HostingGroup

Data type: string

Access type: Read-only

Qualifiers: Key

Defines the second component of the __Win32Provider HostingModel property when the hosting model is one of the following:

  • LocalSystemHost
  • NetworkServiceHost
  • LocalServiceHost
  • LocalSystemHostOrSelfHost
  • NetworkServiceHostOrSelfHost

The hosting group defines a grouping of providers in a separate Wmiprvse.exe process. Providers that share the same hosting model and hosting group share the same service host process.

HostingProcessIdentifier

Data type: string

Access type: Read-only

Process identifier that hosts the specific instance of the provider.

HostingSpecification

Data type: uint32

Access type: Read-only

Qualifiers: Key

Defines the first component of the __Win32Provider HostingModel property. The hosting property is defined to be one of these value types.

WmiCore

Activate provider in host to the WMI service. This hosting model is only supported for operating system components.

Attempts to register providers with WmiCore fail with WBEM_E_ACCESS_DENIED.

WmiCoreOrSelfHost

Activate provider in host to the WMI service or as local server. This hosting model is only supported for operating system components.

Attempts to register providers with WmiCoreOrSelfHost fail with WBEM_E_ACCESS_DENIED.

SelfHost

Activate provider as a local server implementation.

Decoupled:Com

Activate provider as a decoupled COM provider. For more information about decoupled providers, see Incorporating a Provider in an Application.

Decoupled:NonCom

Activate provider as a non-COM event provider.

LocalSystemHost

Activate provider in the provider host process that is running under the LocalSystem account.

LocalSystemHostOrSelfHost

The provider is self-hosted or loaded into the Wmiprvse.exe process running under the LocalSystem account.

Note LocalSystemHostOrSelfHost is the default configuration that WMI sets when the HostingModel property in __Win32Provider is NULL. Because LocalSystem is a highly privileged account, an entry is generated in the Security Event Log to notify administrators of a provider running in this trusted status.

NetworkServiceHost

Activate provider in the provider host process that is running under the NetworkService account.

LocalServiceHost

Activate provider in the provider host process that is running under the LocalService account.

NetworkServiceHostOrSelfHost

The provider is self-hosted or loaded into the Wmiprvse.exe process running under the NetworkService account. NetworkServiceHostOrSelfHost is the default configuration when the HostingModel property in __Win32Provider is NULL. Because NetworkServiceHostOrSelfHost is the default, providers from earlier operating systems can continue to work in later operating systems.

HostProcessIdentifier

Data type: Uint32

Access type: Read-only

The HostProcessIdentifier property defines the process identifier hosting the particular instance of the provider.

Locale

Data type: string

Access type: Read-only

Qualifiers: Key

The language locale. For Microsoft locale identifiers, the format of the string is "MS_xxxx", where xxxx is a string in hexadecimal form that indicates the LCID. For example, the American English locale identifier is "MS_409".

Namespace

Data type: string

Access type: Read-only

Qualifiers: Key

Namespace associated with a specific provider instance.

Provider

Data type: string

Access type: Read-only

Qualifiers: Key

Name associated with a specific provider instance. The name is identical to the __Win32Provider property.

ProviderOperation_AccessCheck

Data type: uint64

Access type: Read-only

Number of calls to IWbemEventProviderSecurity::AccessCheck.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CancelQuery

Data type: uint64

Access type: Read-only

Number of calls to IWbemEventProviderQuerySink::CancelQuery.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CreateClassEnumAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::CreateClassEnumAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CreateInstanceEnumAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::CreateInstanceEnumAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CreateRefreshableEnum

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::CreateRefreshableEnum.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CreateRefreshableObject

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::CreateRefreshableObject.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_CreateRefresher

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::CreateRefresher.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_DeleteClassAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::DeleteClassAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_DeleteInstanceAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::DeleteInstanceAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_ExecMethodAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::ExecMethodAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_ExecQueryAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::ExecQueryAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_FindConsumer

Data type: uint64

Access type: Read-only

Number of calls to IWbemEventConsumerProvider::FindConsumer.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_GetObjectAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::GetObjectAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_GetObjects

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::GetObjects.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_GetProperty

Data type: uint64

Access type: Read-only

Number of calls to IWbemPropertyProvider::GetProperty.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_NewQuery

Data type: uint64

Access type: Read-only

Number of calls to IWbemEventProviderQuerySink::NewQuery.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_ProvideEvents

Data type: uint64

Access type: Read-only

Number of calls to IWbemEventProvider::ProvideEvents.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_PutClassAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::PutClassAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_PutInstanceAsync

Data type: uint64

Access type: Read-only

Number of calls to IWbemServices::PutInstanceAsync.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_PutProperty

Data type: uint64

Access type: Read-only

Number of calls to IWbemPropertyProvider::PutProperty.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_QueryInstances

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::QueryInstances.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_SetRegistrationObject

Data type: uint64

Access type: Read-only

Property currently not set.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_StopRefreshing

Data type: uint64

Access type: Read-only

Number of calls to IWbemHiPerfProvider::StopRefreshing.

For more information about using uint64 values in scripts, see Scripting in WMI.

ProviderOperation_ValidateSubscription

Data type: uint64

Access type: Read-only

Currently not supported.

For more information about using uint64 values in scripts, see Scripting in WMI.

TransactionIdentifier

Data type: string

Access type: Read-only

Qualifiers: Key

Internal use only. The current value is "{00000000-0000-0000-0000-000000000000}".

User

Data type: string

Access type: Read-only

Qualifiers: Key

Particular provider instance, configured for per user initialization.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
System.mof
DLL
WmiPrvSD.dll

See also

Provider Hosting and Security