IDTSBufferManager100.CreateBuffer Method (Int32, IDTSComponentMetaData100)

 

Creates an IDTSBuffer100 based on the specified buffer type.

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

[DispIdAttribute(109)]
IDTSBuffer100 CreateBuffer(
	int hBufferType,
	IDTSComponentMetaData100 pOwner
)

Parameters

hBufferType
Type: System.Int32

The ID of the registered IDTSBuffer100 type.

pOwner
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100

The IDTSComponentMetaData100 of the component that owns the new IDTSBuffer100.

Return Value

Type: 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.

Return to top
Show: