Partager via


AgentAlertJob propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property AgentAlertJob As ScriptOption
    Get
'Utilisation
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

Valeur de la propriété

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