Partilhar via


Propriedade AgentAlertJob

Gets an object that specifies whether to include SQL Server Agent alerts and jobs in the script. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared ReadOnly Property AgentAlertJob As ScriptOption
    Get
'Uso
Dim value As ScriptOption

value = ScriptOption.AgentAlertJob
public static ScriptOption AgentAlertJob { get; }
public:
static property ScriptOption^ AgentAlertJob {
    ScriptOption^ get ();
}
static member AgentAlertJob : ScriptOption
static function get AgentAlertJob () : ScriptOption

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that represents AgentAlertJob in the scripting options.

Exemplos

Gerando scripts