共用方式為


ManagedComponentHost.Instantiate Method

Definition

Instantiates the host.

public:
 virtual void Instantiate(System::String ^ userComponentTypeName, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSComponentMetaData100 ^ componentMetaData, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ variableDispenser, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBufferManager100 ^ bufferManager, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventInfos100 ^ eventInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectReferenceTracker100 ^ refTracker, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogEntryInfos100 ^ logEntryInfos, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSProductLevel % productLevel);
public void Instantiate (string userComponentTypeName, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 componentMetaData, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 variableDispenser, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100 bufferManager, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 eventInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 refTracker, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 logEntryInfos, out Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSProductLevel productLevel);
abstract member Instantiate : string * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 * DTSProductLevel -> unit
override this.Instantiate : string * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBufferManager100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 * DTSProductLevel -> unit
Public Sub Instantiate (userComponentTypeName As String, componentMetaData As IDTSComponentMetaData100, variableDispenser As IDTSVariableDispenser100, bufferManager As IDTSBufferManager100, eventInfos As IDTSEventInfos100, refTracker As IDTSObjectReferenceTracker100, logEntryInfos As IDTSLogEntryInfos100, ByRef productLevel As DTSProductLevel)

Parameters

userComponentTypeName
String

The type name of the component.

componentMetaData
IDTSComponentMetaData100

The component metadata.

variableDispenser
IDTSVariableDispenser100

The variable dispenser.

bufferManager
IDTSBufferManager100

The buffer manager.

eventInfos
IDTSEventInfos100

The event information.

refTracker
IDTSObjectReferenceTracker100

The reference tracker.

logEntryInfos
IDTSLogEntryInfos100

The log entry information.

productLevel
DTSProductLevel

The product level.

Implements

Applies to