IDTSDesigntimeComponent100.SetUsageType Methode

Definition

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSInputColumn100 ^ SetUsageType(int lInputID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSVirtualInput100 ^ pIDTSVirtualInputObject, int lLineageID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::DTSUsageType eUsageType);
[System.Runtime.InteropServices.DispId(16)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSInputColumn100 SetUsageType (int lInputID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSVirtualInput100 pIDTSVirtualInputObject, int lLineageID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.DTSUsageType eUsageType);
[<System.Runtime.InteropServices.DispId(16)>]
abstract member SetUsageType : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSVirtualInput100 * int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.DTSUsageType -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSInputColumn100
Public Function SetUsageType (lInputID As Integer, pIDTSVirtualInputObject As IDTSVirtualInput100, lLineageID As Integer, eUsageType As DTSUsageType) As IDTSInputColumn100

Parameter

lInputID
Int32
pIDTSVirtualInputObject
IDTSVirtualInput100
lLineageID
Int32
eUsageType
DTSUsageType

Gibt zurück

Das IDTSInputColumn100-Objekt, dessen UsageType festgelegt ist.

Attribute

Hinweise

SetUsageType wird aufgerufen, wenn eine Spalte aus dem IDTSVirtualInputColumnCollection100 für eine Komponente ausgewählt ist. Wenn der usageType UT_READONLY oder UT_READWRITE ist, wird eine neue Eingabespalte für die Komponente erstellt, die den durch den lLineageID Parameter angegebenen IDTSVirtualInputColumn100 widerspiegelt. Wenn usageType UT_IGNORED ist und die Spalte in der Auflistung vorhanden ist, wird die Spalte entfernt, und NULL wird zurückgegeben.

Gilt für: