RSOP_SecurityEventLogSettingNumeric class

The RSOP_SecurityEventLogSettingNumeric WMI class represents a security policy setting that determines numeric properties related to the system, application, and security event logs. Properties include the number of days to retain entries and maximum log size. This class was added for Windows XP.

Note  Classes that derive from the RSOP_PolicySetting class must redefine the precedence property to be a key.

The following syntax is simplified from MOF code.

Syntax

class RSOP_SecurityEventLogSettingNumeric : RSOP_SecuritySettings
{
  string KeyName;
  uint32 precedence;
  uint32 Setting;
  string Type;
};

Members

The RSOP_SecurityEventLogSettingNumeric class has these types of members:

Properties

The RSOP_SecurityEventLogSettingNumeric class has these properties.

KeyName
Data type: string
Access type: Read-only
Qualifiers: Key

Name that identifies this instance of the security policy setting. This property can have one of the following values:

  • MaximumLogSize
  • AuditLogRetentionPeriod
  • RetentionDays

For more information about the preceding values, see the Microsoft Windows 2000 Server Resource Kit Group Policy Reference.

precedence
Data type: uint32
Access type: Read-only
Qualifiers: Key

Inherited from RSOP_PolicySetting.

Setting
Data type: uint32
Access type: Read-only

The actual value of this instance of the security policy setting; the setting is a numeric value.

Type
Data type: string
Access type: Read-only
Qualifiers: Key

Type of event log. This property can have one of the following values.

ValueMeaning
0

System log

1

Security log

2

Application log

 

Remarks

The RSOP_SecurityEventLogSettingNumeric class is derived from RSOP_SecuritySettings which is derived from RSOP_PolicySetting.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

SceRsop.mof

See also

RSOP_SecuritySettings
RSOP_SecurityEventLogSettingBoolean
RSOP_PolicySetting

 

 

Show: