ScriptingOptions.AgentAlertJob Property
Gets or sets the Boolean property that specifies whether to include SQL Server Agent job name for alert objects in the script.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Gets or sets the Boolean property that specifies whether to include SQL Server Agent job name for alert objects in the script.