dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlScript Class / Connection Property

In This Topic
    Connection Property (SqlScript)
    In This Topic
    Gets or sets the SqlConnection used by this instance of the SqlScript.
    Syntax
    'Declaration
     
    Public Shadows Property Connection As SqlConnection
    public new SqlConnection Connection {get; set;}

    Property Value

    The connection to a data source. The default value is a null reference.
    Remarks
    You must set Connection property before the script execution.

    This property supports the InterForm technology.

    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