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.
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