共用方式為


ManagedComponentHost.HostSetInputColumnProperty 方法

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

Sets the input column property of the host.

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

語法

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

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

參數

  • inputColumnID
    型別:System.Int32
    The input column identifier.

傳回值

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

實作

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

請參閱

參考

ManagedComponentHost 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間