Bagikan melalui


IDTSInput100.Dangling Property

Gets or sets a value that notifies the data flow engine that the input can be unattached.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Property Dangling As Boolean
    Get
    Set
'Usage
Dim instance As IDTSInput100
Dim value As Boolean

value = instance.Dangling

instance.Dangling = value
bool Dangling { get; set; }
property bool Dangling {
    bool get ();
    void set (bool value);
}
abstract Dangling : bool with get, set
function get Dangling () : boolean
function set Dangling (value : boolean)

Property Value

Type: System.Boolean
true if the input is unattached during execution; otherwise, false.

Remarks

The data flow task posts a validation error when an unattached input is discovered, since this normally prevents the task from running. Setting this property to true overcomes this restriction and allows components to maintain unattached inputs without causing a validation error. In contrast, if this property is set to true, and the input is attached to an output, the data flow task fails validation.

This property is typically set to true on virtual inputs. These types of inputs are used by components that support multiple inputs. The virtual input allows the component to expose an available input that can be connected to an upstream component. When the virtual input is connected to an upstream output, its Dangling property is set to false, and a new input is created with this property set to true.