CManagedComponentWrapperClass.SetComponentProperty Method

Assigns a value to a IDTSCustomProperty90 of the component.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(17)> _
Public Overridable Function SetComponentProperty ( _
    <InAttribute> PropertyName As String, _
    <InAttribute> vValue As Object _
) As IDTSCustomProperty90 Implements IDTSDesigntimeComponent90.SetComponentProperty
[DispIdAttribute(17)] 
public virtual IDTSCustomProperty90 IDTSDesigntimeComponent90.SetComponentProperty (
    [InAttribute] string PropertyName,
    [InAttribute] Object vValue
)
[DispIdAttribute(17)] 
public:
virtual IDTSCustomProperty90^ SetComponentProperty (
    [InAttribute] String^ PropertyName, 
    [InAttribute] Object^ vValue
) = IDTSDesigntimeComponent90::SetComponentProperty
J# 支援明確介面實作的使用,但不支援新明確介面實作的宣告。
JScript 支援明確介面實作的使用,但不支援新明確介面實作的宣告。

參數

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

傳回值

The IDTSCustomProperty90 object whose property is set.

備註

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace