共用方式為


MSFT_WmiProviderEvent class

The MSFT_WmiProviderEvent class is the parent class for all consumer provider events. The MSFT_WmiProviderEvent is only found in the root\cimv2 namespace.

The following syntax is simplified from Managed Object format (MOF) code and includes all inherited properties.

Syntax

class MSFT_WmiProviderEvent : MSFT_WmiEssEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  string Namespace;
  string ProviderName;
};

Members

The MSFT_WmiProviderEvent class has these types of members:

Properties

The MSFT_WmiProviderEvent class has these properties.

Namespace

Data type: string

Access type: Read-only

Namespace where the consumer provider was activated.

ProviderName

Data type: string

Access type: Read-only

Name of the consumer provider.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor that the event provider uses to determine which users can receive the event. For more information, see WMI Security Constants.

This property is inherited from __Event.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time the event is generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Time (UTC) format.

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

This property is inherited from __Event.

Requirements

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

See also

MSFT_WmiEssEvent

ConsumerProvider Troubleshooting Classes

WMI Troubleshooting

WMI Troubleshooting

Receiving a WMI Event