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