Share via


Package.InteractiveMode Property

Definition

Gets or sets a value that indicates whether the tasks should show user interface objects while executing.

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

Property Value

true if the tasks should show user interface objects while executing; otherwise, false.

Attributes

Examples

The following code example shows how to set the InteractiveMode to true.

pkg.InteractiveMode = true;  
pkg.InteractiveMode = True  

Remarks

This property is used to discover if tasks should show any graphical user interface, such as error boxes, warnings, or other dialog boxes, while running. When running in the designer, this value should be set to true because the package is interactive with the design surface.

Applies to