SystemMessage.Severity Property

Gets the severity of the system message.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property Severity As Byte
    Get
'Usage
Dim instance As SystemMessage
Dim value As Byte

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

Property Value

Type: System.Byte
A Uint8 value that specifies the severity of the system message.

Examples

Using Messages