Executes a sql statement against the connection and returns the number of rows affected.
Namespace: SSIS.TestAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
C# |
---|
public int ExecuteNonQuery( string commandText ) |
Visual Basic |
---|
Public Function ExecuteNonQuery ( _ commandText As String _ ) As Integer |
Visual C++ |
---|
public: int ExecuteNonQuery( String^ commandText ) |
Parameters
- commandText
- Type: System..::..String
Sql command to execute.