Database.ExecuteNonQuery 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.
Overloads
ExecuteNonQuery(StringCollection) | |
ExecuteNonQuery(String) | |
ExecuteNonQuery(StringCollection, ExecutionTypes) | |
ExecuteNonQuery(String, ExecutionTypes) |
ExecuteNonQuery(StringCollection)
public void ExecuteNonQuery (System.Collections.Specialized.StringCollection sqlCommands);
override this.ExecuteNonQuery : System.Collections.Specialized.StringCollection -> unit
Public Sub ExecuteNonQuery (sqlCommands As StringCollection)
Parameters
- sqlCommands
- StringCollection
Applies to
ExecuteNonQuery(String)
public void ExecuteNonQuery (string sqlCommand);
override this.ExecuteNonQuery : string -> unit
Public Sub ExecuteNonQuery (sqlCommand As String)
Parameters
- sqlCommand
- String
Applies to
ExecuteNonQuery(StringCollection, ExecutionTypes)
public void ExecuteNonQuery (System.Collections.Specialized.StringCollection sqlCommands, Microsoft.SqlServer.Management.Common.ExecutionTypes executionType);
override this.ExecuteNonQuery : System.Collections.Specialized.StringCollection * Microsoft.SqlServer.Management.Common.ExecutionTypes -> unit
Public Sub ExecuteNonQuery (sqlCommands As StringCollection, executionType As ExecutionTypes)
Parameters
- sqlCommands
- StringCollection
- executionType
- ExecutionTypes
Applies to
ExecuteNonQuery(String, ExecutionTypes)
public void ExecuteNonQuery (string sqlCommand, Microsoft.SqlServer.Management.Common.ExecutionTypes executionType);
override this.ExecuteNonQuery : string * Microsoft.SqlServer.Management.Common.ExecutionTypes -> unit
Public Sub ExecuteNonQuery (sqlCommand As String, executionType As ExecutionTypes)
Parameters
- sqlCommand
- String
- executionType
- ExecutionTypes