Compartilhar via


MSFT_WmiConsumerProviderEvent class

The MSFT_WmiConsumerProviderEvent class event class is the parent class for all consumer provider events.

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

Syntax

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

Members

The MSFT_WmiConsumerProviderEvent class has these types of members:

Properties

The MSFT_WmiConsumerProviderEvent class has these properties.

Machine

Data type: string

Access type: Read-only

Name of the machine on which the event occurs.

Namespace

Data type: string

Access type: Read-only

Namespace where the consumer provider was activated.

This property is inherited from MSFT_WmiProviderEvent

ProviderName

Data type: string

Access type: Read-only

Name of the consumer provider.

This property is inherited from MSFT_WmiProviderEvent

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_WmiProviderEvent

ConsumerProvider Troubleshooting Classes

WMI Troubleshooting

WMI Troubleshooting

Receiving a WMI Event