Visual Basic (Declaration) | |
---|---|
<DisplayNameAttribute("Enable Log")> Public Property EnableLog As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ServerSettings Dim value As Boolean instance.EnableLog = value value = instance.EnableLog |
C# | |
---|---|
[DisplayNameAttribute("Enable Log")] public bool EnableLog {get; set;} |
C++/CLI | |
---|---|
[DisplayNameAttribute("Enable Log")] public: property bool EnableLog { bool get(); void set ( bool value); } |
Property Value
true
if service log is enabled; otherwise, false
.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7