Udostępnij przez


PipelineComponent.SetComponentProperty Method

Assigns a value to a IDTSCustomProperty100 of the component. This method is not CLS-compliant.

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

Syntax

'Deklaracja
<CLSCompliantAttribute(False)> _
Public Overridable Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
[CLSCompliantAttribute(false)] 
public virtual IDTSCustomProperty100 SetComponentProperty (
    string propertyName,
    Object propertyValue
)
[CLSCompliantAttribute(false)] 
public:
virtual IDTSCustomProperty100^ SetComponentProperty (
    String^ propertyName, 
    Object^ propertyValue
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSCustomProperty100 SetComponentProperty (
    String propertyName, 
    Object propertyValue
)
CLSCompliantAttribute(false) 
public function SetComponentProperty (
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty100

Parameters

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

Return Value

The IDTSCustomProperty100 object whose property is set.

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.

Thread Safety

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.

Platforms

Development Platforms

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

Target Platforms

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