Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Package.InteractiveMode Property


Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public bool InteractiveMode { get; set; }

Property Value

Type: System.Boolean

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

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.

Legacy Code Example

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

pkg.InteractiveMode = true;
Return to top
© 2015 Microsoft