Gets a value indicating whether the logging is enabled.
public bool Enabled {get; set;}
public bool Enabled {get; set;}
get_Enabled();
set_Enabled(value);
public:
property bool Enabled {
bool get();
void set ( bool value);
}
'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As Logger
Dim value As Boolean
instance.Enabled = value
value = instance.Enabled
Property Value
true if logging is enabled; otherwise, it is false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2