Partager via


FormattedEventLogTraceListenerData.MachineName Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the name of the machine for the FormattedEventLogTraceListenerData.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("machineName", IsRequired := False, DefaultValue := ".")> _
PublicPropertyMachineNameAs String
[ConfigurationPropertyAttribute("machineName", IsRequired = false, DefaultValue = ".")]
public string MachineName { get; set; }
[ConfigurationPropertyAttribute(L"machineName", IsRequired = false, DefaultValue = L".")]
public:
property String^ MachineName {
    String^ get ();
    voidset (String^ value);
}
publicfunction getMachineName () : String
publicfunction setMachineName (value : String)

See Also

FormattedEventLogTraceListenerData Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.