Udostępnij za pośrednictwem


Właściwość ForwardingSeverity

Pobiera lub ustawia poziom minimalny wskaźnik ważności zdarzenie błędu, który ma być przesyłany dalej do innego wystąpienie programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Agent
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ForwardingSeverity As Integer
    Get
    Set
'Użycie
Dim instance As AlertSystem
Dim value As Integer

value = instance.ForwardingSeverity

instance.ForwardingSeverity = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ForwardingSeverity { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ForwardingSeverity {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ForwardingSeverity : int with get, set
function get ForwardingSeverity () : int
function set ForwardingSeverity (value : int)

Wartość właściwości

Typ: System. . :: . .Int32
Int32 Wartość określająca poziom minimalny wskaźnik ważności dla zdarzenie przekazywania.

Uwagi

SQL ServerAgenta można skonfigurować do przodu zdarzeń do innego serwera SQL Server. ForwardingSeverity Właściwość jest mechanizmem używanym do sterowania zdarzenia przekazane.

Set ForwardingSeverityto restrict event forwarding to those events generated by errors with a severity greater than or equal to the property value.Przekazywanie zdarzeń może być dodatkowo ograniczone korzystanie z IsForwardedAlways właściwość.