Udostępnij przez


IDTSDesigntimeComponent100.SetComponentProperty Method

Assigns a value to an IDTSCustomProperty100 of a component.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Deklaracja
<DispIdAttribute(17)> _
Function SetComponentProperty ( _
    <InAttribute> PropertyName As String, _
    <InAttribute> vValue As Object _
) As IDTSCustomProperty100
[DispIdAttribute(17)] 
IDTSCustomProperty100 SetComponentProperty (
    [InAttribute] string PropertyName,
    [InAttribute] Object vValue
)
[DispIdAttribute(17)] 
IDTSCustomProperty100^ SetComponentProperty (
    [InAttribute] String^ PropertyName, 
    [InAttribute] Object^ vValue
)
/** @attribute DispIdAttribute(17) */ 
IDTSCustomProperty100 SetComponentProperty (
    /** @attribute InAttribute() */ String PropertyName, 
    /** @attribute InAttribute() */ Object vValue
)
DispIdAttribute(17) 
function SetComponentProperty (
    PropertyName : String, 
    vValue : Object
) : IDTSCustomProperty100

Parameters

  • vValue
    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 the custom property of a component is edited.

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.