DTSValidationStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the return value of a call to Validate().
public enum class DTSValidationStatus
public enum DTSValidationStatus
type DTSValidationStatus =
Public Enum DTSValidationStatus
- Inheritance
-
DTSValidationStatus
Fields
Name | Value | Description |
---|---|---|
VS_ISVALID | 0 | The component is correctly configured and ready for execution. |
VS_ISBROKEN | 1 | The component is incorrectly configured; typically, this indicates that a property is set incorrectly. |
VS_NEEDSNEWMETADATA | 2 | The component's metadata is outdated or corrupt, and a call to ReinitializeMetaData() will repair the component. |
VS_ISCORRUPT | 3 | The component is irreparably damaged and must be completely reset. The designer calls the component's ProvideComponentProperties() method in response. |
Remarks
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 IDTSComponentMetaData100 class.