AlertSystem.NotificationMethod Property
Applies To: SQL Server 2016 Preview
Gets or sets the notification method used to notify the fail-safe operator.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public NotifyMethods NotificationMethod { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property NotifyMethods NotificationMethod {
NotifyMethods get();
void set(NotifyMethods value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member NotificationMethod : NotifyMethods with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public Property NotificationMethod As NotifyMethods
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods
A NotifyMethods object value that specifies the notification method used to notify the fail-safe operator.
Examples
Legacy Code Example
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
AlertSystem Class
Microsoft.SqlServer.Management.Smo.Agent Namespace
Automated Administration Tasks (SQL Server Agent)
sp_add_alert (Transact-SQL)
Return to top