共用方式為


IDTSBufferManager100.CreateFlatBuffer 方法

Creates an IDTSBuffer100 of the specified size.

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

語法

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

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

參數

傳回值

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

備註

This method allocates an IDTSBuffer100 object of the specified size, in bytes. Flat buffers are not created using an existing buffer definition and contain no columns or rows. Flat buffers are private and their use is specific to the component that requests it.

請參閱

參考

IDTSBufferManager100 介面

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