SetComponentProperty 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

此成员重写 PipelineComponent. . :: . .SetComponentProperty(String, Object)

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

语法

声明
Public Overrides Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
用法
Dim instance As ScriptComponentHost
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100

returnValue = instance.SetComponentProperty(propertyName, _
    propertyValue)
public override IDTSCustomProperty100 SetComponentProperty(
    string propertyName,
    Object propertyValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
    String^ propertyName, 
    Object^ propertyValue
) override
abstract SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100 
override SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100 
public override function SetComponentProperty(
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty100

参数