ScriptBuffer Constructor
Initializes a new instance of the ScriptBuffer class.
Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.TxScript (in microsoft.sqlserver.txscript.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
BufferToUse As PipelineBuffer, _
BufferColumnIndexesToUse As Integer() _
)
public ScriptBuffer (
PipelineBuffer BufferToUse,
int[] BufferColumnIndexesToUse
)
public:
ScriptBuffer (
PipelineBuffer^ BufferToUse,
array<int>^ BufferColumnIndexesToUse
)
public ScriptBuffer (
PipelineBuffer BufferToUse,
int[] BufferColumnIndexesToUse
)
public function ScriptBuffer (
BufferToUse : PipelineBuffer,
BufferColumnIndexesToUse : int[]
)
Parametri
- BufferToUse
A PipelineBuffer that contains the data flow buffer.
- BufferColumnIndexesToUse
An array of type Integer containing the column indexes for the columns in the buffer.
Osservazioni
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.
Esempio
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
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
ScriptBuffer Class
ScriptBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace