Nevron Open Vision Documentation
Nevron.Nov.Data Namespace / NDbConnection Class / ExecuteNonQuery Method


In This Topic
    ExecuteNonQuery Method (NDbConnection)
    In This Topic
    Executes a SQL statement against this connection and returns the number of affected rows.
    Syntax
    'Declaration
     
    
    Public MustOverride Function ExecuteNonQuery( _
       ByVal sqlStatement As System.String _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDbConnection
    Dim sqlStatement As System.String
    Dim value As System.Integer
     
    value = instance.ExecuteNonQuery(sqlStatement)
    public abstract System.int ExecuteNonQuery( 
       System.string sqlStatement
    )

    Parameters

    sqlStatement

    Return Value

    The number of rows affected.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also