Package.InteractiveMode プロパティ

定義

実行中にタスクがユーザー インターフェイス オブジェクトを表示する必要があるかどうかを示す値を取得します。値の設定も可能です。

public:
 property bool InteractiveMode { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool InteractiveMode { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.InteractiveMode : bool with get, set
Public Property InteractiveMode As Boolean

プロパティ値

Boolean

実行中にタスクでユーザー インターフェイス オブジェクトを表示する必要がある場合は true。それ以外の場合は false。

属性

次のコード例では、InteractiveMode を true に設定する方法を示します。

pkg.InteractiveMode = true;  
pkg.InteractiveMode = True  

注釈

このプロパティは、実行中にタスクがエラー ボックス、警告、その他のダイアログ ボックスなどのグラフィカル ユーザー インターフェイスを表示する必要があるかどうかを検出するために使用されます。 パッケージがデザイン画面を使用する対話型であるため、デザイナーで実行中、この値は true に設定されている必要があります。

適用対象