Database.ExecuteNonQuery 方法

定義

多載

ExecuteNonQuery(StringCollection)

public void ExecuteNonQuery(System.Collections.Specialized.StringCollection sqlCommands);
override this.ExecuteNonQuery : System.Collections.Specialized.StringCollection -> unit
Public Sub ExecuteNonQuery (sqlCommands As StringCollection)

參數

sqlCommands
StringCollection

適用於

ExecuteNonQuery(String)

public void ExecuteNonQuery(string sqlCommand);
override this.ExecuteNonQuery : string -> unit
Public Sub ExecuteNonQuery (sqlCommand As String)

參數

sqlCommand
String

適用於

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)

參數

sqlCommands
StringCollection
executionType
ExecutionTypes

適用於

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)

參數

sqlCommand
String
executionType
ExecutionTypes

適用於