IDTSDesigntimeComponent100.SetComponentProperty 方法

Assigns a value to an IDTSCustomProperty100 of a component.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function SetComponentProperty ( _
    PropertyName As String, _
    vValue As Object _
) As IDTSCustomProperty100
用法
Dim instance As IDTSDesigntimeComponent100 
Dim PropertyName As String 
Dim vValue As Object 
Dim returnValue As IDTSCustomProperty100 

returnValue = instance.SetComponentProperty(PropertyName, _
    vValue)
IDTSCustomProperty100 SetComponentProperty(
    string PropertyName,
    Object vValue
)
IDTSCustomProperty100^ SetComponentProperty(
    [InAttribute] String^ PropertyName, 
    [InAttribute] Object^ vValue
)
abstract SetComponentProperty : 
        PropertyName:string * 
        vValue:Object -> IDTSCustomProperty100
function SetComponentProperty(
    PropertyName : String, 
    vValue : Object
) : IDTSCustomProperty100

参数

返回值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.

注释

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

请参阅

参考

IDTSDesigntimeComponent100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间