Freigeben über


MSFT_MTEventRecord class

Represents the detailed information of an event in a particular log generated by a specific source.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("mttmprov"), AMENDMENT]
class MSFT_MTEventRecord
{
  uint32   Id;
  uint16   Level;
  string   Log;
  uint32   RecordId;
  string   Source;
  datetime Timestamp;
  string   Description;
};

Members

The MSFT_MTEventRecord class has these types of members:

Properties

The MSFT_MTEventRecord class has these properties.

Description

Data type: string

Access type: Read-only

The text description of the event.

Id

Data type: uint32

Access type: Read-only

Qualifiers: key

The ID of the event.

Level

Data type: uint16

Access type: Read-only

The level of the event.

Log

Data type: string

Access type: Read-only

The log this event was read from.

RecordId

Data type: uint32

Access type: Read-only

The record ID of the event in the event log.

Source

Data type: string

Access type: Read-only

The source that logged the event.

Timestamp

Data type: datetime

Access type: Read-only

The logged time of the event.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\ManagementTools
MOF
MtTmProv.mof
DLL
MtTmProv.dll