Sdílet prostřednictvím


PipelineComponent.SetComponentProperty(String, Object) Method

Definition

Important

This API is not CLS-compliant.

Assigns a value to a IDTSCustomProperty100 of the component.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ SetComponentProperty(System::String ^ propertyName, System::Object ^ propertyValue);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 SetComponentProperty (string propertyName, object propertyValue);
[<System.CLSCompliant(false)>]
abstract member SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Overridable Function SetComponentProperty (propertyName As String, propertyValue As Object) As IDTSCustomProperty100

Parameters

propertyName
String

The name of the IDTSCustomProperty100 whose value is set.

propertyValue
Object

The object stored in the Value property of the IDTSCustomProperty100 object.

Returns

The IDTSCustomProperty100 object whose property is set.

Attributes

Remarks

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.

Applies to