ISqlConnection.Execute(String, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Execute a SQL statement
public:
int Execute(System::String ^ query, ... cli::array <System::Object ^> ^ args);
public int Execute (string query, params object[] args);
abstract member Execute : string * obj[] -> int
Public Function Execute (query As String, ParamArray args As Object()) As Integer
Parameters
- query
- String
The SQL statement to execute
- args
- Object[]
List of substitution parameters
Returns
Number of rows affected by this statement