Win32_NTLogEventLog class
The Win32_NTLogEventLog association WMI class relates a Windows NT event with a Windows NT 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.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012