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.

In This Topic
    UniScript Constructor(String,UniConnection)
    In This Topic
    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 _
    )
    public UniScript( 
       string scriptText,
       UniConnection connection
    )

    Parameters

    scriptText
    The text of the query.
    connection
    A UniConnection object that represents the connection to a database.
    See Also