共用方式為


IDTSInput100.Dangling 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Property Dangling As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

備註

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.

請參閱

參考

IDTSInput100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間