Share via


InteractiveMode プロパティ

実行中に、タスクがユーザー インターフェイス オブジェクトを表示する必要があるかどうかを示します。

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
<BrowsableAttribute(False)> _
Public Property InteractiveMode As Boolean
    Get
    Set
'使用
Dim instance As Package
Dim value As Boolean

value = instance.InteractiveMode

instance.InteractiveMode = value
[BrowsableAttribute(false)]
public bool InteractiveMode { get; set; }
[BrowsableAttribute(false)]
public:
property bool InteractiveMode {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(false)>]
member InteractiveMode : bool with get, set
function get InteractiveMode () : boolean
function set InteractiveMode (value : boolean)

プロパティ値

型: System. . :: . .Boolean
実行中に、タスクがユーザー インターフェイス オブジェクトを表示する必要があるかどうかを示す Boolean です。

説明

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

使用例

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

pkg.InteractiveMode = true;
pkg.InteractiveMode = True