共用方式為


SetComponentProperty 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

此成員會覆寫 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

參數