Udostępnij przez


CManagedComponentWrapperClass.SetComponentProperty Method

Assigns a value to a IDTSCustomProperty100 of the component.

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

Syntax

'Deklaracja
<DispIdAttribute(17)> _
Public Overridable Function SetComponentProperty ( _
    <InAttribute> PropertyName As String, _
    <InAttribute> vValue As Object _
) As IDTSCustomProperty100 Implements IDTSDesigntimeComponent100.SetComponentProperty
[DispIdAttribute(17)] 
public virtual IDTSCustomProperty100 IDTSDesigntimeComponent100.SetComponentProperty (
    [InAttribute] string PropertyName,
    [InAttribute] Object vValue
)
[DispIdAttribute(17)] 
public:
virtual IDTSCustomProperty100^ SetComponentProperty (
    [InAttribute] String^ PropertyName, 
    [InAttribute] Object^ vValue
) = IDTSDesigntimeComponent100::SetComponentProperty
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • vValue
    The object assigned to the Value property of the IDTSCustomProperty100 object.

Return Value

The IDTSCustomProperty100 object whose property is set.

Remarks

Call this method to assign a value to an IDTSCustomProperty100 of the component.

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.