共用方式為


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.

範例

使用訊息