CreateFlatBuffer méthode
Creates an IDTSBuffer100 of the specified size.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Public Overridable Function CreateFlatBuffer ( _
lSize As Integer, _
pOwner As IDTSComponentMetaData100 _
) As IDTSBuffer100
'Utilisation
Dim instance As DTSBufferManagerClass
Dim lSize As Integer
Dim pOwner As IDTSComponentMetaData100
Dim returnValue As IDTSBuffer100
returnValue = instance.CreateFlatBuffer(lSize, _
pOwner)
public virtual IDTSBuffer100 CreateFlatBuffer(
int lSize,
IDTSComponentMetaData100 pOwner
)
public:
virtual IDTSBuffer100^ CreateFlatBuffer(
[InAttribute] int lSize,
[InAttribute] IDTSComponentMetaData100^ pOwner
)
abstract CreateFlatBuffer :
lSize:int *
pOwner:IDTSComponentMetaData100 -> IDTSBuffer100
override CreateFlatBuffer :
lSize:int *
pOwner:IDTSComponentMetaData100 -> IDTSBuffer100
public function CreateFlatBuffer(
lSize : int,
pOwner : IDTSComponentMetaData100
) : IDTSBuffer100
Paramètres
- lSize
Type : System. . :: . .Int32
The size, in bytes, of the new IDTSBuffer100.
- pOwner
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSComponentMetaData100
The IDTSComponentMetaData100 object of the component that owns the buffer.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSBuffer100
The newly created IDTSBuffer100 object.
Implémente
IDTSBufferManager100. . :: . .CreateFlatBuffer(Int32, IDTSComponentMetaData100)
Notes
This method allocates an IDTSBuffer100 object of the specified size. Flat buffers are not created using an existing buffer definition and contain no columns or rows. Flat buffers are private and their use is specific to the component that requests it.