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

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

Parameters

stream
A Stream object that contains the script text.
connection
A OracleConnection 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