Поделиться через


IDTSComponentMetaData90.Validate Method

Invokes validation of the component metadata.

Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Синтаксис

'Декларация
<DispIdAttribute(120)> _
Function Validate As DTSValidationStatus
[DispIdAttribute(120)] 
DTSValidationStatus Validate ()
[DispIdAttribute(120)] 
DTSValidationStatus Validate ()
/** @attribute DispIdAttribute(120) */ 
DTSValidationStatus Validate ()
DispIdAttribute(120) 
function Validate () : DTSValidationStatus

Возвращаемое значение

A value from the DTSValidationStatus enumeration.

Замечания

The Validate method of the component metadata invokes the layout validation routine implemented by the data flow task. This is different from the validation done by a component when the Validate method of the design-time instance of the component is called. When this method is called, the data flow engine:

  • Verifies that the ID of the component is valid.

  • Verifies that the locale specified for the component is installed on the local machine.

  • Verifies that the component has at least one input or one output.

  • Verifies that the input and output column collections are valid.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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