Compartilhar via


Win32_ComputerSystemEvent class

The Win32_ComputerSystemEvent WMI class represents events related to a computer system.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[UUID("{999A286E-CF9C-4f0c-8F0F-827C4C0D9CC6}"), AMENDMENT]
class Win32_ComputerSystemEvent : __ExtrinsicEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  string MachineName;
};

Members

The Win32_ComputerSystemEvent class has these types of members:

Properties

The Win32_ComputerSystemEvent class has these properties.

MachineName

Data type: string

Access type: Read-only

Name of the computer for which the event occurred.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event.

For more information about constants used to set this security descriptor, 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 at which the event was 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 Times (UTC) format.

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

This property is inherited from __Event.

Remarks

The Win32_ComputerSystemEvent class is derived from __ExtrinsicEvent.

Requirements

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

See also

__ExtrinsicEvent

Operating System Classes