共用方式為


ManagedComponentHost.HostSetInputProperty 方法

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

Sets the input property of the host.

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

語法

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

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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The input property of the host.

實作

IDTSManagedComponentHost100.HostSetInputProperty(IDTSManagedComponentWrapper100, Int32, String, Object)

請參閱

參考

ManagedComponentHost 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間