Package.InteractiveMode プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
実行中にタスクがユーザー インターフェイス オブジェクトを表示する必要があるかどうかを示す値を取得します。値の設定も可能です。
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
プロパティ値
実行中にタスクでユーザー インターフェイス オブジェクトを表示する必要がある場合は true。それ以外の場合は false。
- 属性
例
次のコード例では、InteractiveMode を true に設定する方法を示します。
pkg.InteractiveMode = true;
pkg.InteractiveMode = True
注釈
このプロパティは、実行中にタスクがエラー ボックス、警告、その他のダイアログ ボックスなどのグラフィカル ユーザー インターフェイスを表示する必要があるかどうかを検出するために使用されます。 パッケージがデザイン画面を使用する対話型であるため、デザイナーで実行中、この値は true
に設定されている必要があります。