Condividi tramite


Package.InteractiveMode Property

Indicates if tasks should show user interface objects while executing.

Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintassi

'Dichiarazione
<BrowsableAttribute(False)> _
Public Property InteractiveMode As Boolean
[BrowsableAttribute(false)] 
public bool InteractiveMode { get; set; }
[BrowsableAttribute(false)] 
public:
property bool InteractiveMode {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_InteractiveMode ()

/** @property */
public void set_InteractiveMode (boolean value)
public function get InteractiveMode () : boolean

public function set InteractiveMode (value : boolean)

Valore proprietà

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

Osservazioni

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.

Esempio

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

pkg.InteractiveMode = true;
pkg.InteractiveMode = True

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Package Class
Package Members
Microsoft.SqlServer.Dts.Runtime Namespace