CreateBuffer-Methode
Creates an IDTSBuffer100 object that is based on the specified buffer type.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntax
'Declaration
Public Overridable Function CreateBuffer ( _
hBufferType As Integer, _
pOwner As IDTSComponentMetaData100 _
) As IDTSBuffer100
'Usage
Dim instance As DTSBufferManagerClass
Dim hBufferType As Integer
Dim pOwner As IDTSComponentMetaData100
Dim returnValue As IDTSBuffer100
returnValue = instance.CreateBuffer(hBufferType, _
pOwner)
public virtual IDTSBuffer100 CreateBuffer(
int hBufferType,
IDTSComponentMetaData100 pOwner
)
public:
virtual IDTSBuffer100^ CreateBuffer(
[InAttribute] int hBufferType,
[InAttribute] IDTSComponentMetaData100^ pOwner
)
abstract CreateBuffer :
hBufferType:int *
pOwner:IDTSComponentMetaData100 -> IDTSBuffer100
override CreateBuffer :
hBufferType:int *
pOwner:IDTSComponentMetaData100 -> IDTSBuffer100
public function CreateBuffer(
hBufferType : int,
pOwner : IDTSComponentMetaData100
) : IDTSBuffer100
Parameter
- hBufferType
Typ: System. . :: . .Int32
The ID of the registered IDTSBuffer100 type.
- pOwner
Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSComponentMetaData100
The IDTSComponentMetaData100 of the component that owns the new IDTSBuffer100 object.
Rückgabewert
Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSBuffer100
The newly created IDTSBuffer100 object.
Implementiert
IDTSBufferManager100. . :: . .CreateBuffer(Int32, IDTSComponentMetaData100)
Hinweise
This method creates a new IDTSBuffer100 that is based on the buffer specified by the hBufferType parameter.