共用方式為


IDTSBufferManager100.CreateBuffer 方法

Creates an IDTSBuffer100 based on the specified buffer type.

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

語法

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

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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
The newly created IDTSBuffer100 object.

備註

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

請參閱

參考

IDTSBufferManager100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間