Udostępnij przez


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

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

Parameters

Return Value

The newly created IDTSBuffer100 object.

Remarks

This method creates a new IDTSBuffer100 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.

Target Platforms

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