Share via


ISqlConnection.Execute(String, Object[]) Method

Definition

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

Applies to