API Reference
Class
EventLogChannelPolicy
Channel-level Windows Event Log settings (enablement, size, path, retention, security descriptor).
Inheritance
- Object
- EventLogChannelPolicy
Constructors
public EventLogChannelPolicy() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String LogName { get; set; } #Event log channel name (e.g., Application, System, Microsoft-Windows-.../Operational).
public String ComputerName { get; set; } #Computer associated with the policy (null for local).
public Nullable<Boolean> IsEnabled { get; set; } #Whether the channel is enabled.
public Nullable<Int64> MaximumSizeInBytes { get; set; } #Maximum file size for the channel.
public String LogFilePath { get; set; } #Path to the channel log file.
public String Mode { get; set; } #Retention mode (Circular, Retain, AutoBackup).
public String SecurityDescriptor { get; set; } #Security descriptor (SDDL) for the channel.