 | EventLogTargetMachineName Property |
Gets or sets the name of the machine on which Event Log service is running.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Layout MachineName { get; set; }
Public Property MachineName As Layout
Get
Set
Dim instance As EventLogTarget
Dim value As Layout
value = instance.MachineName
instance.MachineName = value
member MachineName : Layout with get, set
Property Value
Type:
Layout
RemarksDefault: Empty
See Also