Share via


Propriété InteractiveMode

Indicates if tasks should show user interface objects while executing.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(False)> _
Public Property InteractiveMode As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean that indicates if tasks should show user interface objects while executing.

Notes

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.

Exemples

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

pkg.InteractiveMode = true;
pkg.InteractiveMode = True