Gets a value indicating whether the logging is enabled.
[ConfigurationPropertyAttribute(Name="enabled",
Options=ConfigurationPropertyOptions.None,
IsDefaultCollection=false,
IsRequired=false,
IsKey=false)]
public bool Enabled {get;}
'Declaration
<ConfigurationPropertyAttribute(Name="enabled",
Options=ConfigurationPropertyOptions.None,
IsDefaultCollection=False,
IsRequired=False,
IsKey=False)>
Public ReadOnly Property Enabled As Boolean
'Usage
Dim instance As ConfigSectionHandler
Dim value As Boolean
value = instance.Enabled
[ConfigurationPropertyAttribute(Name="enabled",
Options=ConfigurationPropertyOptions.None,
IsDefaultCollection=false,
IsRequired=false,
IsKey=false)]
public:
property bool Enabled {
bool get();
}
Property Value
true if logging is enabled; otherwise, false.