共用方式為


DTSBufferManagerClass.CreateBuffer(Int32, IDTSComponentMetaData100) Method

Definition

Creates an IDTSBuffer100 object that is based on the specified buffer type.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBuffer100 ^ CreateBuffer(int hBufferType, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSComponentMetaData100 ^ pOwner) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBufferManager100::CreateBuffer;
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100 CreateBuffer (int hBufferType, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 pOwner);
abstract member CreateBuffer : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
override this.CreateBuffer : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
Public Overridable Function CreateBuffer (hBufferType As Integer, pOwner As IDTSComponentMetaData100) As IDTSBuffer100

Parameters

hBufferType
Int32

The ID of the registered IDTSBuffer100 type.

pOwner
IDTSComponentMetaData100

The IDTSComponentMetaData100 of the component that owns the new IDTSBuffer100 object.

Returns

The newly created IDTSBuffer100 object.

Implements

Remarks

This method creates a new IDTSBuffer100 that is based on the buffer specified by the hBufferType parameter.

Applies to