FileLogTraceListener::IncludeHostName Property

 

Indicates whether or not the host name of the logging machine should be included in the output.

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
property bool IncludeHostName {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

Boolean. Use True if the host identifier should be included; otherwise use False. The default value is False.

Use the property to configure the behavior of the TraceData and TraceEvent methods.

.NET Framework
Available since 2.0
Return to top
Show: