dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / Statements Property

In This Topic
    Statements Property (MySqlScript)
    In This Topic
    Gets the collection of statements that make up the script.
    Syntax
    'Declaration
     
    Public Shadows ReadOnly Property Statements As MySqlStatementCollection
    public new MySqlStatementCollection Statements {get;}

    Property Value

    The collection of the script statements.
    Remarks
    Use the Statements property to obtain MySqlStatementCollection, which allows accessing individual statements of the script and executing them manually. The collection is read-only, so you cannot modify it in any way. It is also bound to the originating MySqlScript object, which means that if you have altered ScriptText, a previously obtained collection will be cleared.
    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