Поделиться через


Свойство JobServer.ReplaceAlertTokensEnabled

Gets or sets the Boolean value that determines whether alert tokens are replaced on the instance of SQL Server Agent.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ReplaceAlertTokensEnabled As Boolean 
    Get 
    Set
'Применение
Dim instance As JobServer 
Dim value As Boolean 

value = instance.ReplaceAlertTokensEnabled

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

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether alert tokens are replaced on the instance of SQL Server Agent.If True, alert tokens are replaced. Otherwise, False (default).

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

JobServer Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)

Хранимые процедуры агента SQL Server (Transact-SQL)