SystemMessage.IsLogged 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsLogged As Boolean 
    Get
用法
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

属性值

类型: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.

示例

使用消息

请参阅

参考

SystemMessage 类

Microsoft.SqlServer.Management.Smo 命名空间