共用方式為


ManagedComponentHost.HostSetUsageType Method

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

This method is not CLS-compliant.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
Public Function HostSetUsageType ( _
    wrapper As IDTSManagedComponentWrapper90, _
    inputID As Integer, _
    virtualInput As IDTSVirtualInput90, _
    lineageID As Integer, _
    usageType As DTSUsageType _
) As IDTSInputColumn90
public IDTSInputColumn90 HostSetUsageType (
    IDTSManagedComponentWrapper90 wrapper,
    int inputID,
    IDTSVirtualInput90 virtualInput,
    int lineageID,
    DTSUsageType usageType
)
public:
virtual IDTSInputColumn90^ HostSetUsageType (
    IDTSManagedComponentWrapper90^ wrapper, 
    int inputID, 
    IDTSVirtualInput90^ virtualInput, 
    int lineageID, 
    DTSUsageType usageType
) sealed
public final IDTSInputColumn90 HostSetUsageType (
    IDTSManagedComponentWrapper90 wrapper, 
    int inputID, 
    IDTSVirtualInput90 virtualInput, 
    int lineageID, 
    DTSUsageType usageType
)
public final function HostSetUsageType (
    wrapper : IDTSManagedComponentWrapper90, 
    inputID : int, 
    virtualInput : IDTSVirtualInput90, 
    lineageID : int, 
    usageType : DTSUsageType
) : IDTSInputColumn90

參數

  • wrapper
  • inputID
  • virtualInput
  • lineageID
  • usageType

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ManagedComponentHost Class
ManagedComponentHost Members
Microsoft.SqlServer.Dts.Pipeline Namespace