共用方式為


CreateBuffer 方法

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Public Overridable Function CreateBuffer ( _
    hBufferType As Integer, _
    pOwner As IDTSComponentMetaData100 _
) As IDTSBuffer100
'用途
Dim instance As DTSBufferManagerClass
Dim hBufferType As Integer
Dim pOwner As IDTSComponentMetaData100
Dim returnValue As IDTSBuffer100

returnValue = instance.CreateBuffer(hBufferType, _
    pOwner)
public virtual IDTSBuffer100 CreateBuffer(
    int hBufferType,
    IDTSComponentMetaData100 pOwner
)
public:
virtual IDTSBuffer100^ CreateBuffer(
    [InAttribute] int hBufferType, 
    [InAttribute] IDTSComponentMetaData100^ pOwner
)
abstract CreateBuffer : 
        hBufferType:int * 
        pOwner:IDTSComponentMetaData100 -> IDTSBuffer100 
override CreateBuffer : 
        hBufferType:int * 
        pOwner:IDTSComponentMetaData100 -> IDTSBuffer100 
public function CreateBuffer(
    hBufferType : int, 
    pOwner : IDTSComponentMetaData100
) : IDTSBuffer100

參數

實作

IDTSBufferManager100. . :: . .CreateBuffer(Int32, IDTSComponentMetaData100)

備註

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