Partilhar via


IDTSBufferManager90.CreateBuffer Method

Creates an IDTSBuffer90 based on the specified buffer type.

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

Syntax

'Declaration
<DispIdAttribute(109)> _
Function CreateBuffer ( _
    <InAttribute> hBufferType As Integer, _
    <InAttribute> pOwner As IDTSComponentMetaData90 _
) As IDTSBuffer90
[DispIdAttribute(109)] 
IDTSBuffer90 CreateBuffer (
    [InAttribute] int hBufferType,
    [InAttribute] IDTSComponentMetaData90 pOwner
)
[DispIdAttribute(109)] 
IDTSBuffer90^ CreateBuffer (
    [InAttribute] int hBufferType, 
    [InAttribute] IDTSComponentMetaData90^ pOwner
)
/** @attribute DispIdAttribute(109) */ 
IDTSBuffer90 CreateBuffer (
    /** @attribute InAttribute() */ int hBufferType, 
    /** @attribute InAttribute() */ IDTSComponentMetaData90 pOwner
)
DispIdAttribute(109) 
function CreateBuffer (
    hBufferType : int, 
    pOwner : IDTSComponentMetaData90
) : IDTSBuffer90

Parameters

Return Value

The newly created IDTSBuffer90 object.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSBufferManager90 Interface
IDTSBufferManager90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace