CManagedComponentWrapperClass.Validate Method
Verifies that the component is configured correctly and ready to execute.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
구문
‘선언
<DispIdAttribute(29)> _
Public Overridable Function Validate As DTSValidationStatus Implements IDTSDesigntimeComponent90.Validate
[DispIdAttribute(29)]
public virtual DTSValidationStatus IDTSDesigntimeComponent90.Validate ()
[DispIdAttribute(29)]
public:
virtual DTSValidationStatus Validate () = IDTSDesigntimeComponent90::Validate
J#은 명시적 인터페이스 구현의 사용을 지원하지만 새로 선언하는 것은 지원하지 않습니다.
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로 선언하는 것은 지원하지 않습니다.
반환 값
A value from the DTSValidationStatus enumeration.
주의
The Validate method of a component is always called by the data flow task prior to execution. However this method can be called at any time. When the method is called, the component will check the configuration of its inputs, outputs, custom properties, and column collections to verify that the component is properly configured. Most components will raise OnError and OnWarning events when validation errors occur. These events provide additional information on the problems with the component.
The following table describes the error values of the DTSValidationStatus enumeration.
Status |
Description |
Indicates that the component is not configured correctly, but that it can be repaired by modifying properties of the component. |
|
Indicates that the validation errors can be fixed by the component in the ReinitializeMetaData method. |
|
Indicates that the ComponentMetaData is corrupt and cannot be repaired by a call to ReinitializeMetaData or by edits to the component. This is typically caused by editing the package XML directly. |
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace