次の方法で共有


SystemMessage.Severity プロパティ

システム メッセージの重大度を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Severity As Byte 
    Get
'使用
Dim instance As SystemMessage 
Dim value As Byte 

value = instance.Severity
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte Severity { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property unsigned char Severity {
    unsigned char get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Severity : byte
function get Severity () : byte

プロパティ値

型: System.Byte
システム メッセージの重大度を示す Uint8 値です。

使用例

メッセージの使用

関連項目

参照

SystemMessage クラス

Microsoft.SqlServer.Management.Smo 名前空間