dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniScript Class / UniScript Constructor / UniScript Constructor(String,UniConnection)
The text of the query.
A UniConnection object that represents the connection to a database.

UniScript Constructor(String,UniConnection)
Initializes a new instance of the UniScript class with the text of the query and a UniConnection object.
Syntax
'Declaration
 
Public Function New( _
   ByVal scriptText As String, _
   ByVal connection As UniConnection _
)
 

Parameters

scriptText
The text of the query.
connection
A UniConnection 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