dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlScript Class / PgSqlScript Constructor / PgSqlScript Constructor(Stream,PgSqlConnection)
A Stream object that contains the script text.
A PgSqlConnection object that represents the connection to a database.

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

    Parameters

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