共用方式為


AgentAlertJob 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property AgentAlertJob As ScriptOption
    Get
'用途
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

屬性值

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

範例

指令碼