Конструктор ScriptBuffer
Initializes a new instance of the ScriptBuffer class.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline
Сборка: Microsoft.SqlServer.TxScript (в Microsoft.SqlServer.TxScript.dll)
Синтаксис
'Декларация
Public Sub New ( _
BufferToUse As PipelineBuffer, _
BufferColumnIndexesToUse As Integer() _
)
'Применение
Dim BufferToUse As PipelineBuffer
Dim BufferColumnIndexesToUse As Integer()
Dim instance As New ScriptBuffer(BufferToUse, _
BufferColumnIndexesToUse)
public ScriptBuffer(
PipelineBuffer BufferToUse,
int[] BufferColumnIndexesToUse
)
public:
ScriptBuffer(
PipelineBuffer^ BufferToUse,
array<int>^ BufferColumnIndexesToUse
)
new :
BufferToUse:PipelineBuffer *
BufferColumnIndexesToUse:int[] -> ScriptBuffer
public function ScriptBuffer(
BufferToUse : PipelineBuffer,
BufferColumnIndexesToUse : int[]
)
Параметры
- BufferToUse
Тип: Microsoft.SqlServer.Dts.Pipeline. . :: . .PipelineBuffer
A PipelineBuffer that contains the data flow buffer.
- BufferColumnIndexesToUse
Тип: array<System. . :: . .Int32> [] () [] []
An array of type Integer containing the column indexes for the columns in the buffer.
Замечания
The Script component developer does not use the ScriptBuffer class directly, but indirectly, through the derived classes in the BufferWrapper project item that represent the component's input and outputs.
The developer does not have to use the constructor for the ScriptBuffer class.
Примеры
The following sample code from the autogenerated BufferWrapper project item demonstrates how the Script component uses the constructor for the classes that inherit from ScriptBuffer.
Public Sub New(ByVal Buffer As PipelineBuffer, ByVal BufferColumnIndexes As Integer())
MyBase.New(Buffer, BufferColumnIndexes)
End Sub