Delen via


ScriptOption.AgentAlertJob Property

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property AgentAlertJob As ScriptOption
    Get
'Usage
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

Property Value

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

Examples

Scripting