dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniScript Class / UniScript Constructor / UniScript Constructor(Stream,UniConnection)
A Stream object that contains the script text.
A UniConnection object that represents the connection to a database.

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

    Parameters

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