PipelineComponent::SetComponentProperty Method (String^, Object^)
Assigns a value to a IDTSCustomProperty100 of the component.
This API is not CLS-compliant.
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
public: [CLSCompliantAttribute(false)] virtual IDTSCustomProperty100^ SetComponentProperty( String^ propertyName, Object^ propertyValue )
Parameters
- propertyName
-
Type:
System::String^
The name of the IDTSCustomProperty100 whose value is set.
- propertyValue
-
Type:
System::Object^
The object stored in the Value property of the IDTSCustomProperty100 object.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper::IDTSCustomProperty100^The IDTSCustomProperty100 object whose property is set.
This method is called when a custom property in the ComponentMetaData is set.
If not overridden, the base class assigns the value specified in the propertyValue parameter to the custom property.
Show: