다음을 통해 공유


Package.InteractiveMode 속성

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

네임스페이스:  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
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.

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

pkg.InteractiveMode = true;
pkg.InteractiveMode = True

참고 항목

참조

Package 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스