共用方式為


HostSetComponentProperty 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
Public Function HostSetComponentProperty ( _
    wrapper As IDTSManagedComponentWrapper100, _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100

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

實作

IDTSManagedComponentHost100. . :: . .HostSetComponentProperty(IDTSManagedComponentWrapper100, String, Object)