- WMI Library -
WMI Libraly > Msft_Providers Class

Msft_Providers Class

The Msft_Providers class exposes configuration relating to provider instances
Namespace value is root/CIMV2.
WMI Provider value is Msft_ProviderSubSystem.


Properties

  • HostingGroup
  • The HostingGroup specification defines the second component of the __Win32provider :: HostingModel whenthe hosting model is one of LocalSystemHost, LocalSystemHostOrSelfHost, NetworkServiceHost or LocalServiceHost.The hosting group defines a particular instantiation of a wmi provider host, providers that share the same hosting modeland hosting group share the same surrogate process.

  • HostingSpecification
  • The HostingSpecification property defines the first component of the __Win32provider :: HostingModelproperty. The hosting property is defined to be one of the following value types :-WmiCore - Activate provider in host to the winmgmt service, note this is only supported for OS components.Note, attempts to register providers with WmiCore as HostingModel will fail with WBEM_E_ACCESS_DENIEDWmiCoreOrSelfHost - Activate provider in host to the winmgmt service or as local server,Note this is only supported for OS components.SelfHost - Activate provider as a local server implementation.Decoupled:Com - Activate provider as a decoupled com provider.Decoupled:NonCom - Activate provider as a non com event provider.LocalSystemHost[:((.)+)] - Activate provider in host to a wmi provider host running as LocalSystem.Note, this is the default if __Win32provider :: HostingModel is not set. Further note, that on creation of an instance of __Win32provider with HostingModel equal to NULL, LocalSystemHost or LocalSystemHostOrSelfHost, an event log record is generated so that admins are aware ofproviders running under the trusted status.LocalSystemHostOrSelfHost[:((.)+)] - Activate provider in host to a wmi provider host running as LocalSystem or as local server. Note, this is the default if __Win32provider :: HostingModel is not set. Further note, that on creation of an instance of __Win32provider with HostingModel equal to NULL, LocalSystemHost or LocalSystemHostOrSelfHost, an event log record is generated so that admins are aware ofproviders running under the trusted status.NetworkServiceHost[:((.)+)] - Activate provider in host to a wmi provider host running as NetworkService.LocalServiceHost[:((.)+)] - Activate provider in host to a wmi provider host running as LocalService.Note, [:((.)+)] refers to a regular expression that defines the hosting group for the provider.

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

  • Locale
  • If provider is configured for Per Local Initialization, then the Locale property refers to Locale's particular instantiation of a provider instance.

  • Namespace
  • The Namespace property indicates the Namespace associated with a particular instantiation of a provider instance.

  • provider
  • The Provider property holds the Provider Name associated with a particular instantiation of a provider instance.The Provider Name is identical to the __Win32provider :: Name property.

  • ProviderOperation_AccessCheck
  • The ProviderOperation_AccessCheck property indicates the number of calls to IWbemEventProviderSecurity :: AccessCheck.

  • ProviderOperation_CancelQuery
  • The ProviderOperation_CancelQuery property indicates the number of calls to IWbemEventProviderQuerySink :: CancelQuery.

  • ProviderOperation_CreateClassEnumAsync
  • The ProviderOperation_CreateClassEnumAsync property indicates the number of calls to IWbemServices :: CreateClassEnumAsync.

  • ProviderOperation_CreateInstanceEnumAsync
  • The ProviderOperation_CreateInstanceEnumAsync property indicates the number of calls to IWbemServices :: CreateInstanceEnumAsync.

  • ProviderOperation_CreateRefreshableEnum
  • The ProviderOperation_CreateRefreshableEnum property indicates the number of calls to IWbemHiPerfProvider :: CreateRefreshableEnum.

  • ProviderOperation_CreateRefreshableObject
  • The ProviderOperation_CreateRefreshableObject property indicates the number of calls to IWbemHiPerfProvider :: CreateRefreshableObject.

  • ProviderOperation_CreateRefresher
  • The ProviderOperation_CreateRefresher property indicates the number of calls to IWbemHiPerfProvider :: CreateRefresher.

  • ProviderOperation_DeleteClassAsync
  • The ProviderOperation_DeleteClassAsync property indicates the number of calls to IWbemServices :: DeleteClassAsync.

  • ProviderOperation_DeleteInstanceAsync
  • The ProviderOperation_DeleteInstanceAsync property indicates the number of calls to IWbemServices :: DeleteInstanceAsync.

  • ProviderOperation_ExecMethodAsync
  • The ProviderOperation_ExecMethodAsync property indicates the number of calls to IWbemServices :: ExecMethodAsync.

  • ProviderOperation_ExecQueryAsync
  • The ProviderOperation_ExecQueryAsync property indicates the number of calls to IWbemServices :: ExecQueryAsync.

  • ProviderOperation_FindConsumer
  • The ProviderOperation_FindConsumer property indicates the number of calls to IWbemEventConsumerProvider :: FindConsumer.

  • ProviderOperation_GetObjectAsync
  • The ProviderOperation_GetObjectAsync property indicates the number of calls to IWbemServices :: GetObjectAsync.

  • ProviderOperation_GetObjects
  • The ProviderOperation_GetObjects property indicates the number of calls to IWbemHiPerfProvider :: GetObjects.

  • ProviderOperation_GetProperty
  • The ProviderOperation_GetProperty property indicates the number of calls to IWbemPropertyProvider :: GetProperty.

  • ProviderOperation_NewQuery
  • The ProviderOperation_NewQuery property indicates the number of calls to IWbemEventProviderQuerySink :: NewQuery.

  • ProviderOperation_ProvideEvents
  • The ProviderOperation_ProvideEvents property indicates the number of calls to IWbemEventProvider :: ProvideEvents.

  • ProviderOperation_PutClassAsync
  • The property indicates the number of calls to IWbemServices :: PutClassAsync.

  • ProviderOperation_PutInstanceAsync
  • The ProviderOperation_PutInstanceAsync property indicates the number of calls to IWbemServices :: PutInstanceAsync.

  • ProviderOperation_PutProperty
  • The ProviderOperation_PutProperty property indicates the number of calls to IWbemPropertyProvider :: PutProperty.

  • ProviderOperation_QueryInstances
  • The ProviderOperation_QueryInstances property indicates the number of calls to IWbemHiPerfProvider :: QueryInstances.

  • ProviderOperation_SetRegistrationObject
  • The ProviderOperation_SetRegistrationObject property is currently not set.

  • ProviderOperation_StopRefreshing
  • The ProviderOperation_StopRefreshing property indicates the number of calls to IWbemHiPerfProvider :: StopRefreshing.

  • ProviderOperation_ValidateSubscription
  • The ProviderOperation_ValidateSubscription property indicates the number of calls to IWbemEventConsumerProviderEx :: ValidateSubscription.

  • TransactionIdentifier
  • The TransactionIdentifier property is for internal use, currently always {00000000-0000-0000-0000-000000000000}.

  • User
  • If provider is configured for Per User Initialization, then the User property refers to User's particular instantiation of a provider instance.


    Methods

  • Suspend
  • The Suspend method suspends execution of providers. All calls passing through a particular instance of the provider will be pass through aninterception layer, this layer will fail the call. Depending on the particular operation, the client may receive the status code WBEM_E_PROVIDER_SUSPENDED

  • Resume
  • The Resume method resumes execution of providers suspended through the use of the Suspend method.

  • UnLoad
  • The dynamic UnLoad method unloads the COM server associated with the particular instance of the provider. Further calls intothe provider with the same CLSID will return WBEM_E_PROVIDER_DISABLED. If the COM server implementation is an inproc server hosted in the provider host process it will receive calls to the exported function DllCanUnloadNow, if the provider responds by returning TRUE then COM will unload the executable image. Currently COM is configured to unload the executable approximately 30 seconds after the first successful call to DllCanUnloadNow. If hosted in some other process surrogate the surrogate will unload using some other strategy. The provider can be re-enabled either through the use of the Msft_Provider :: Load method, changes to the associated instance of __Win32Provider or via service restart.

  • Load
  • The Load method loads a specific instance of a provider.


    Example WQL

    SELECT * FROM Msft_Providers
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...