共用方式為


IDTSBufferManager100.CreateBuffer(Int32, IDTSComponentMetaData100) Method

Definition

Creates an IDTSBuffer100 based on the specified buffer type.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBuffer100 ^ CreateBuffer(int hBufferType, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSComponentMetaData100 ^ pOwner);
[System.Runtime.InteropServices.DispId(109)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100 CreateBuffer (int hBufferType, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 pOwner);
[<System.Runtime.InteropServices.DispId(109)>]
abstract member CreateBuffer : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100 -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
Public 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.

Returns

The newly created IDTSBuffer100 object.

Attributes

Remarks

This method creates a new IDTSBuffer100 based on the buffer definition defined by the hBufferType parameter.

Applies to