Condividi tramite


DTSValidationStatus Enumeration

Specifies the return value of a call to Validate.

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintassi

'Dichiarazione
Public Enumeration DTSValidationStatus
public enum DTSValidationStatus
public enum class DTSValidationStatus
public enum DTSValidationStatus
public enum DTSValidationStatus

Members

Member name Description
VS_ISBROKEN The component is incorrectly configured; typically, this indicates that a property is set incorrectly.
VS_ISCORRUPT The component is irreparably damaged and must be completely reset. The designer calls the component's ProvideComponentProperties method in response.
VS_ISVALID The component is correctly configured and ready for execution.
VS_NEEDSNEWMETADATA The component's metadata is outdated or corrupt, and a call to ReinitializeMetaData will repair the component.

Osservazioni

A data flow component returns a value from this enumeration in the Validate method that indicates its readiness to execute. VS_ISVALID is the only success value contained in the enumeration and indicates that the component is properly configured, has no errors, and is ready to execute.

The other three values indicate failure. For example, VS_NEEDSNEWMETADATA indicates that errors have occurred that can be repaired by the ReinitializeMetaData method. The specific value returned by a component is not visible in the designer, rather, a component raises information about the failure using the FireError, FireWarning, and FireInformation methods of the IDTSComponentMetaData90 class.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace