 | EventLogTarget.MaxKilobytes Property |
Gets or sets the maximum Event log size in kilobytes.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic long? MaxKilobytes { get; set; }
Public Property MaxKilobytes As Long?
Get
Set
Dim instance As EventLogTarget
Dim value As Long?
value = instance.MaxKilobytes
instance.MaxKilobytes = value
member MaxKilobytes : Nullable<int64> with get, set
Property Value
Type:
Nullable<Int64>
RemarksProperty Value
Type: Nullable<Int64>
MaxKilobytes cannot be less than 64 or greater than 4194240 or not a multiple of 64.
If null, the value will not be specified while creating the Event log.
See Also