AgentAlertJob プロパティ
警告オブジェクトに対する SQL Server エージェント ジョブ名をスクリプトに含めるかどうかを示す Boolean プロパティを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Property AgentAlertJob As Boolean
Get
Set
'使用
Dim instance As ScriptingOptions
Dim value As Boolean
value = instance.AgentAlertJob
instance.AgentAlertJob = value
public bool AgentAlertJob { get; set; }
public:
property bool AgentAlertJob {
bool get ();
void set (bool value);
}
member AgentAlertJob : bool with get, set
function get AgentAlertJob () : boolean
function set AgentAlertJob (value : boolean)
プロパティ値
型: System. . :: . .Boolean
SQL Server エージェントの警告とジョブを含めるかどうかを示す Boolean 値です。
True の場合、警告とジョブがスクリプトに含まれます。False (既定値) の場合、警告とジョブはスクリプトに含まれません。