Database.ExecuteNonQuery 方法

包括受保护的成员
包括继承的成员

Executes a collection of batches in the context of the database where there are no results returned.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 ExecuteNonQuery(StringCollection) Executes a batch in the context of the database where there are no results returned.
公共方法 ExecuteNonQuery(String) Executes a statement in the context of the database where there are no results returned.
公共方法 ExecuteNonQuery(StringCollection, ExecutionTypes) Runs a collection of batches in the context of the database where there are no results returned for the specified execution type only.
公共方法 ExecuteNonQuery(String, ExecutionTypes) Executes a batch in the context of the database where there are no results returned for the specified execution type only.

页首

请参阅

参考

Database 类

Microsoft.SqlServer.Management.Smo 命名空间