Compartir a través de


Win32_NTLogEventComputer class

The Win32_NTLogEventComputer association WMI class relates a computer and an event.

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

Syntax

class Win32_NTLogEventComputer
{
  Win32_ComputerSystem REF Computer;
  Win32_NTLogEvent     REF Record;
};

Members

The Win32_NTLogEventComputer class has these types of members:

Properties

The Win32_NTLogEventComputer class has these properties.

Computer

Data type: Win32_ComputerSystem

Access type: Read-only

Qualifiers: Key

Reference to the instance on which this event occurred.

Record

Data type: Win32_NTLogEvent

Access type: Read-only

Qualifiers: Key

Reference to the instance representing the event.

Remarks

Starting with Windows Vista, an associations query, such as ASSOCIATORS OF, SWbemObject.Associators, or _SWbemServices.AssociatorsOf, that uses Win32_NTLogEventComputer does not work unless Windows Event Log has the compatibility mode set.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
MOF
Ntevt.mof
DLL
Ntevt.dll

See also

Operating System Classes