Udostępnij za pośrednictwem


Właściwość Alert.IncludeEventDescription

Pobiera lub ustawia NotifyMethods wartość obiektu, który określa typy powiadomienie metod (wiadomości e-mail, pager lub net send) które mogą zawierać tekst alert o błędzie.

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

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IncludeEventDescription As NotifyMethods
    Get
    Set
'Użycie
Dim instance As Alert
Dim value As NotifyMethods

value = instance.IncludeEventDescription

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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods
A NotifyMethods wartość obiektu, który określa metody powiadomienie używane przez alert.

Uwagi

SQL ServerAgent tworzy powiadomienie komunikat do wysłania w odpowiedzi na podniesionej alert.Dla każdej metoda powiadomienie (wiadomości e-mail, pager lub net send) SQL Server agenta można tworzyć różne wiadomości.Aby dołączyć tekst alert błędu w SQL Server zbudowany agenta wiadomości zestaw IncludeEventDescription właściwość odnoszące się Alert obiektu.