Compartir a través de


IDTSComponentMetaData100.Validate Método

Invokes the validation of the component metadata.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Function Validate As DTSValidationStatus
'Uso
Dim instance As IDTSComponentMetaData100 
Dim returnValue As DTSValidationStatus 

returnValue = instance.Validate()
DTSValidationStatus Validate()
DTSValidationStatus Validate()
abstract Validate : unit -> DTSValidationStatus
function Validate() : DTSValidationStatus

Valor devuelto

Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSValidationStatus
A value from the DTSValidationStatus enumeration.

Comentarios

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.

Vea también

Referencia

IDTSComponentMetaData100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper