共用方式為


Severity 屬性

Gets the severity of the system message.

命名空間:  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
A Uint8 value that specifies the severity of the system message.

範例

使用訊息