ScriptingOptions.AgentJobId Property
SQL Server 2005
Gets or sets the Boolean property that specifies whether to include SQL Server Agent job ID values for alert objects in the script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
/** @property */ public boolean get_AgentJobId () /** @property */ public void set_AgentJobId (boolean value)
public function get AgentJobId () : boolean public function set AgentJobId (value : boolean)
Property Value
A Boolean value that specifies whether to include SQL Server Agent job ID value in the script. If True, job ID is scripted. If False (default), job ID is not scripted.Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.