Partager via


InstrumentationConfigurationSection.EventLoggingEnabled 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 and sets the value of EventLoggingEnabled

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("eventLoggingEnabled", IsRequired := False,  _
    DefaultValue := False)> _
PublicPropertyEventLoggingEnabledAs Boolean
[ConfigurationPropertyAttribute("eventLoggingEnabled", IsRequired = false, DefaultValue = false)]
public bool EventLoggingEnabled { get; set; }
[ConfigurationPropertyAttribute(L"eventLoggingEnabled", IsRequired = false, 
    DefaultValue = false)]
public:
property bool EventLoggingEnabled {
    bool get ();
    voidset (bool value);
}
publicfunction getEventLoggingEnabled () : boolean
publicfunction setEventLoggingEnabled (value : boolean)

See Also

InstrumentationConfigurationSection Class

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.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.