Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Can't override CreateNewOutputRows() method

$
0
0

Hi -- I'm using SSIS 2005 to create a data flow with a script component configured as a synchronous Transformation.  I selected my input columns and then I created an output buffer with 3 columns.  Now when I go to the Script Editor, I am unable to see the CreateNewOutputRows() method.  All I see is:

' Microsoft SQL Server Integration Services user script component
' This is your new script component in Microsoft Visual Basic .NET
' ScriptMain is the entrypoint class for script components

Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
Imports Microsoft.SqlServer.Dts.Runtime.Wrapper

Public Class ScriptMain
    Inherits UserComponent

    Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)

    End Sub

End Class

If I try to type in "Public Overrides Sub CreateNewOutputRows" and press return, that function name gets underlined with the popup error message: "sub 'CreateNewOutputRows' cannot be declared 'Overrides' because it does not override a sub in a base class."

Am I doing something wrong?  How else do I create new rows in the output buffer?

(FWIW, I also have SQL 2012 installed on my machine.  Not sure if that's messing things up.)

Bill


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>