SystemMessage.IsLogged Property

Gets the Boolean property that specifies whether the system message is logged in the Microsoft Windows event log.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsLogged As Boolean
    Get
'Usage
Dim instance As SystemMessage
Dim value As Boolean

value = instance.IsLogged
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsLogged { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsLogged {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsLogged : bool
function get IsLogged () : boolean

Property Value

Type: System.Boolean
A Boolean property value that specifies whether the system message is logged in the Windows event log.
If True, the system message is logged in the Windows event log.
If False, the system message is not logged in the Windows event log.

Examples

Using Messages