Share via


IDTSBufferManager100.CreateBuffer Method

Creates an IDTSBuffer100 based on the specified buffer type.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function CreateBuffer ( _
    hBufferType As Integer, _
    pOwner As IDTSComponentMetaData100 _
) As IDTSBuffer100
'Usage
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

Parameters

Return Value

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

Remarks

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