共用方式為


IDTSComponentMetaData90.ValidateExternalMetadata Property

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

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(126)> _
Property ValidateExternalMetadata As Boolean
[DispIdAttribute(126)] 
bool ValidateExternalMetadata { get; set; }
[DispIdAttribute(126)] 
property bool ValidateExternalMetadata {
    bool get ();
    void set ([InAttribute] bool pbValidate);
}
/** @property */
/** @attribute DispIdAttribute(126) */ 
boolean get_ValidateExternalMetadata ()

/** @property */
/** @attribute DispIdAttribute(126) */ 
void set_ValidateExternalMetadata (/** @attribute InAttribute() */ boolean pbValidate)
DispIdAttribute(126) 
function get ValidateExternalMetadata () : boolean

DispIdAttribute(126) 
function set ValidateExternalMetadata (pbValidate : boolean)

屬性值

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

備註

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 IDTSExternalMetadataColumnCollection90 collection, if the developer has implemented this functionality.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace