Database.ExecuteNonQuery Method
Executes a collection of batches in the context of the database where there are no results returned.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
名称 | Description |
---|---|
Database.ExecuteNonQuery (String) |
Executes a statement in the context of the database where there are no results returned.
|
Database.ExecuteNonQuery (StringCollection) |
Executes a batch in the context of the database where there are no results returned.
|
Database.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.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.
|
请参阅
参考
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
How to: Create, Alter, and Remove a Database in Visual Basic .NET
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)