 | EventLogTargetMaxKilobytes Property |
Gets or sets the maximum Event log size in kilobytes.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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:
NullableInt64
RemarksProperty Value
Type: NullableInt64
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