Share via


Win32_NTLogEventLog class

The Win32_NTLogEventLog association WMI class relates a Windows event with a Windows event log file.

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_NTLogEventLog
{
  Win32_NTEventLogFile REF Log;
  Win32_NTLogEvent     REF Record;
};

Members

The Win32_NTLogEventLog class has these types of members:

Properties

The Win32_NTLogEventLog class has these properties.

Log

Data type: Win32_NTEventLogFile

Access type: Read-only

Qualifiers: Key

Reference to the instance representing the event log file.

Record

Data type: Win32_NTLogEvent

Access type: Read-only

Qualifiers: Key

Reference to the instance representing the event being logged.

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