PipelineComponent.ProvideComponentProperties Method ()
Called when a component is first added to the data flow task, to initialize the ComponentMetaData of the component.
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
This method is called when a component is first added to a data flow task. It is similar to a constructor and is the method that initializes a component. Components should add their inputs, outputs, and custom properties during this method.
For more information, see Design-time Methods of a Data Flow Component.
Public Overrides Sub ProvideComponentProperties() MyBase.RemoveAllInputsOutputsAndCustomProperties Dim input As IDTSInput100 = ComponentMetaData.InputCollection.New input.Name = "Input" Dim output As IDTSOutput100 = ComponentMetaDAta.OutputCollection.New output.Name = "Output" output.SynchronousInputID = input.ID Dim property As IDTSCustomProperty100 = ComponentMetaData.CustomPropertyCollection.New property.Name = "RuntimeVariable" property.Description = "Identifies a Variable in the package." End Sub