共用方式為


IDTSComponentMetaData100.ValidateExternalMetadata Property

Definition

Gets or sets a value that indicates whether the component validates its column metadata against its external data source at design time.

public:
 property bool ValidateExternalMetadata { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(126)]
public bool ValidateExternalMetadata { [System.Runtime.InteropServices.DispId(126)] get; [System.Runtime.InteropServices.DispId(126)] set; }
[<System.Runtime.InteropServices.DispId(126)>]
[<get: System.Runtime.InteropServices.DispId(126)>]
[<set: System.Runtime.InteropServices.DispId(126)>]
member this.ValidateExternalMetadata : bool with get, set
Public Property ValidateExternalMetadata As Boolean

Property Value

true if the component should validate its column metadata against the external data source during design time; otherwise, false. The default is true.

Attributes

Remarks

When this property is true, the component connects to its external data source during design time and validates the columns in its input or output collections against the columns at the external data source.

When set to false, the component does not perform this "connected" validation, but validates its input and output columns against the columns in the IDTSExternalMetadataColumnCollection100 collection, if the developer has implemented this functionality.

Applies to