Condividi tramite


Metodo Instantiate

Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Sub Instantiate ( _
    bstrUserComponentTypeName As String, _
    pComponentMetaData As IDTSComponentMetaData100, _
    pVariableDispenser As IDTSVariableDispenser100, _
    pBufferManager As IDTSBufferManager100, _
    pEventInfos As IDTSEventInfos100, _
    pRefTracker As IDTSObjectReferenceTracker100, _
    pLogEntryInfos As IDTSLogEntryInfos100, _
    <OutAttribute> ByRef peProductLevel As DTSProductLevel _
)
'Utilizzo
Dim instance As IDTSManagedComponentHost100
Dim bstrUserComponentTypeName As String
Dim pComponentMetaData As IDTSComponentMetaData100
Dim pVariableDispenser As IDTSVariableDispenser100
Dim pBufferManager As IDTSBufferManager100
Dim pEventInfos As IDTSEventInfos100
Dim pRefTracker As IDTSObjectReferenceTracker100
Dim pLogEntryInfos As IDTSLogEntryInfos100
Dim peProductLevel As DTSProductLevel

instance.Instantiate(bstrUserComponentTypeName, _
    pComponentMetaData, pVariableDispenser, _
    pBufferManager, pEventInfos, pRefTracker, _
    pLogEntryInfos, peProductLevel)
void Instantiate(
    string bstrUserComponentTypeName,
    IDTSComponentMetaData100 pComponentMetaData,
    IDTSVariableDispenser100 pVariableDispenser,
    IDTSBufferManager100 pBufferManager,
    IDTSEventInfos100 pEventInfos,
    IDTSObjectReferenceTracker100 pRefTracker,
    IDTSLogEntryInfos100 pLogEntryInfos,
    out DTSProductLevel peProductLevel
)
void Instantiate(
    [InAttribute] String^ bstrUserComponentTypeName, 
    [InAttribute] IDTSComponentMetaData100^ pComponentMetaData, 
    [InAttribute] IDTSVariableDispenser100^ pVariableDispenser, 
    [InAttribute] IDTSBufferManager100^ pBufferManager, 
    [InAttribute] IDTSEventInfos100^ pEventInfos, 
    [InAttribute] IDTSObjectReferenceTracker100^ pRefTracker, 
    [InAttribute] IDTSLogEntryInfos100^ pLogEntryInfos, 
    [OutAttribute] DTSProductLevel% peProductLevel
)
abstract Instantiate : 
        bstrUserComponentTypeName:string * 
        pComponentMetaData:IDTSComponentMetaData100 * 
        pVariableDispenser:IDTSVariableDispenser100 * 
        pBufferManager:IDTSBufferManager100 * 
        pEventInfos:IDTSEventInfos100 * 
        pRefTracker:IDTSObjectReferenceTracker100 * 
        pLogEntryInfos:IDTSLogEntryInfos100 * 
        peProductLevel:DTSProductLevel byref -> unit 
function Instantiate(
    bstrUserComponentTypeName : String, 
    pComponentMetaData : IDTSComponentMetaData100, 
    pVariableDispenser : IDTSVariableDispenser100, 
    pBufferManager : IDTSBufferManager100, 
    pEventInfos : IDTSEventInfos100, 
    pRefTracker : IDTSObjectReferenceTracker100, 
    pLogEntryInfos : IDTSLogEntryInfos100, 
    peProductLevel : DTSProductLevel
)