dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Script Class / DB2Script Constructor / DB2Script Constructor(Stream,DB2Connection)
A Stream object that contains the script text.
A DB2Connection object that represents the connection to a database.

In This Topic
    DB2Script Constructor(Stream,DB2Connection)
    In This Topic
    Initializes a new instance of the DB2Script class with a Stream object to get SQL statements from and a DB2Connection object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal stream As Stream, _
       ByVal connection As DB2Connection _
    )
    public DB2Script( 
       Stream stream,
       DB2Connection connection
    )

    Parameters

    stream
    A Stream object that contains the script text.
    connection
    A DB2Connection object that represents the connection to a database.
    See Also