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

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

Parameters

reader
A TextReader object that contains the script text.
connection
A PgSqlConnection object that represents the connection to a database.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also