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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Severity As Byte
    Get
'Usage
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

Property Value

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

Examples

Using Messages