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.
    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