This documentation is archived and is not being maintained.

FileLogTraceListener.IncludeHostName Property

Note: This property is new in the .NET Framework version 2.0.

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 bool IncludeHostName { get; set; }
/** @property */
public boolean get_IncludeHostName ()

/** @property */
public void set_IncludeHostName (boolean value)

public function get IncludeHostName () : boolean

public function set IncludeHostName (value : boolean)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0