Share via


ScriptComponentHost.SetComponentProperty Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Sets the component property of the host.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

'Declaration
Public Overrides Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
'Usage
Dim instance As ScriptComponentHost 
Dim propertyName As String 
Dim propertyValue As Object 
Dim returnValue As IDTSCustomProperty100 

returnValue = instance.SetComponentProperty(propertyName, _
    propertyValue)
public override IDTSCustomProperty100 SetComponentProperty(
    string propertyName,
    Object propertyValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
    String^ propertyName, 
    Object^ propertyValue
) override
abstract SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100  
override SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100
public override function SetComponentProperty(
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The component property.

See Also

Reference

ScriptComponentHost Class

Microsoft.SqlServer.Dts.Pipeline Namespace