Freigeben über


Database.ExecuteNonQuery Method

Definition

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

Applies to