Bewerken

Delen via


__PropertyProviderRegistration class

The __PropertyProviderRegistration system class registers property providers in WMI.

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

class __PropertyProviderRegistration : __ProviderRegistration
{
  __Provider REF provider;
  boolean        SupportsPut = False;
  boolean        SupportsGet = False;
};

Members

The __PropertyProviderRegistration class has these types of members:

Properties

The __PropertyProviderRegistration class has these properties.

provider

Data type: __Provider

Access type: Read-only

Reference to an instance of __Provider that represents the object path of the property provider. This property is inherited from __ProviderRegistration.

SupportsGet

Data type: boolean

Access type: Read/write

Describes whether the class or instance provider supports data retrieval.

True

The provider supports data retrieval by implementing IWbemServices::GetObjectAsync.

False

The provider does not support data retrieval, and returns WBEM_E_PROVIDER_NOT_CAPABLE from GetObjectAsync.

SupportsPut

Data type: boolean

Access type: Read/write

Describes whether the class or instance provider supports data modification.

True

The provider supports class or instance modification by implementing one of the following methods:

False

The provider does not support data modification and returns WBEM_E_PROVIDER_NOT_CAPABLE from PutClassAsync or PutInstanceAsync.

Remarks

The __PropertyProviderRegistration class is derived from __ProviderRegistration. Only administrators can register a property provider by creating an instance of __Win32Provider and __PropertyProviderRegistration. Only administrators can delete a property provider.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

__ProviderRegistration

WMI System Classes

Registering a Property Provider