Export (0) Print
Expand All
Expand Minimize

PipelineComponent.ReinitializeMetaData Method

Repairs any errors identified during validation that cause the component to return VS_NEEDSNEWMETADATA at design time.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

public virtual void ReinitializeMetaData ()
public void ReinitializeMetaData ()
public function ReinitializeMetaData ()

The ReinitializeMetaData method is called in response to the component returning VSNEEDSNEWMETADATA from Validate. Components should implement code that fixes these errors.


public override DTSValidationStatus Validate()
{
    if (!ComponentMetaData.AreInputColumnsValid)
        return DTSValidationStatus.VS_NEEDSNEWMETADATA;
}
public override void ReinitializeMetaData()
{
    if (!ComponentMetaData.AreInputColumnsValid)
        ComponentMetaData.RemoveInvalidInputColumns();
}

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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft