IDTSDesigntimeComponent90.SetComponentProperty Method

Assigns a value to an IDTSCustomProperty90 of a component.

命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

语法

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

参数

  • vValue
    The object stored in the Value property of the IDTSCustomProperty90 object.

返回值

The IDTSCustomProperty90 object whose property is set.

备注

This method is called when the custom property of a component is edited.

线程安全

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 的硬件和软件要求。

请参阅

参考

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace