Freigeben über


SystemMessage.IsLogged-Eigenschaft

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

Eigenschaftswert

Typ: 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.

Beispiele

Verwenden von Meldungen

Siehe auch

Verweis

SystemMessage Klasse

Microsoft.SqlServer.Management.Smo-Namespace