Partager via


Win32_ProviderEx class

Represents the provider.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[AMENDMENT]
class Win32_ProviderEx : __Win32Provider
{
  string   ClientLoadableCLSID;
  string   CLSID;
  sint32   Concurrency;
  string   DefaultMachineName;
  boolean  Enabled;
  sint32   ImpersonationLevel = 0;
  sint32   InitializationReentrancy;
  datetime InitializationTimeoutInterval;
  boolean  InitializeAsAdminFirst;
  string   Name;
  datetime OperationTimeoutInterval;
  boolean  PerLocaleInitialization = FALSE;
  boolean  PerUserInitialization = FALSE;
  boolean  Pure = TRUE;
  boolean  SupportsExplicitShutdown;
  boolean  SupportsExtendedStatus;
  boolean  SupportsQuotas;
  boolean  SupportsSendStatus;
  boolean  SupportsShutdown;
  boolean  SupportsThrottling;
  datetime UnloadTimeout;
  string   HostingModel = "Decoupled:Com:FoldIdentity(FALSE)";
  string   SecurityDescriptor;
  UInt32   version = 1;
};

Members

The Win32_ProviderEx class has these types of members:

Properties

The Win32_ProviderEx class has these properties.

ClientLoadableCLSID

Data type: string

Access type: Read/write

Class identifier that WMI uses to determine whether or not to load a high performance provider into the client process or the WMI process. If both the provider and client are located on the same computer, WMI loads the provider in-process to the client by using ClientLoadableCLSID as the class identifier. When the provider and client are located on different computers, WMI loads the provider in-process to WMI. WMI also uses ClientLoadableCLSID to support refresh operations.

For more information, see Registering a High-Performance Provider.

This property is inherited from __Win32Provider.

CLSID

Data type: string

Access type: Read/write

GUID that represents the class identifier (CLSID) of the provider COM object. This COM object must contain an implementation of the IWbemProviderInit interface.

This property is inherited from __Win32Provider.

Concurrency

Data type: sint32

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

DefaultMachineName

Data type: string

Access type: Read/write

Identifies the computer on which to start the provider. If the provider runs on the local computer it is NULL.

This property is inherited from __Win32Provider.

Enabled

Data type: boolean

Access type: Read/write

If TRUE, this instance is enabled and can be used to complete client requests.

This property is inherited from __Win32Provider.

HostingModel

Data type: string

Access type: Read-only

Qualifiers: Override ("HostingModel")

Hosting Model, provides compatibility with Windows XP and Windows Server .NET. Do not override.

ImpersonationLevel

Data type: sint32

Access type: Read/write

Reserved. The default value is zero (0).

This property is inherited from __Win32Provider.

InitializationReentrancy

Data type: sint32

Access type: Read/write

Set of flags that provide information about serialization. The default value is zero (0).

This property is inherited from __Win32Provider.

0

All initialization of this provider must be serialized.

1

All initializations of this provider in the same namespace must be serialized.

2

No initialization serialization is necessary.

InitializationTimeoutInterval

Data type: datetime

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

InitializeAsAdminFirst

Data type: boolean

Access type: Read/write

This property is inherited from __Win32Provider.

Name

Data type: string

Access type: Read/write

Qualifiers: Key

The provider name.

This property is inherited from __Win32Provider.

OperationTimeoutInterval

Data type: datetime

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

PerLocaleInitialization

Data type: boolean

Access type: Read/write

If TRUE, the provider is initialized for each locale when a user connects to the same namespace more than one time using different locales. The default value is FALSE.

This property is inherited from __Win32Provider.

PerUserInitialization

Data type: boolean

Access type: Read/write

If TRUE, the provider is initialized one time for each NT LAN Manager (NTLM) user that makes requests to the provider. If FALSE (default), the provider is initialized one time for all users.

This property is inherited from __Win32Provider.

Pure

Data type: boolean

Access type: Read/write

If TRUE, the provider agrees to prepare to unload by calling IUnknown::Release on all outstanding interface points when WMI calls the Release method of its primary interface. Providers that must remain clients of WMI after they do not function as providers should set Pure to FALSE. The default setting is TRUE. For more information, see the Remarks section of this topic.

This property is inherited from __Win32Provider.

SecurityDescriptor

Data type: string

Access type: Read-only

Qualifiers: Override ("SecurityDescriptor")

The security descriptor of the provider.

SupportsExplicitShutdown

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

SupportsExtendedStatus

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

SupportsQuotas

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

SupportsSendStatus

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

SupportsShutdown

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

SupportsThrottling

Data type: boolean

Access type: Read/write

Not used.

This property is inherited from __Win32Provider.

UnloadTimeout

Data type: datetime

Access type: Read/write

Date and Time Format that specifies how long WMI allows the provider to remain idle before it is unloaded. Typically, providers request that WMI wait no longer than five minutes.

For the current version of WMI, the value of this property is ignored. WMI unloads the provider based on the time-out value in an internal class in the \root namespace. It is recommended that providers set UnloadTimeout. For more information, see Unloading a Provider.

This property is inherited from __Win32Provider.

version

Data type: UInt32

Access type: Read-only

Qualifiers: Override (Version)

Version of the provider.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

__Win32Provider