OdbcConnection.IDbConnection.CreateCommand 方法

定义

创建并返回与连接关联的命令对象。Creates and returns a command object associated with the connection.

此 API 支持产品基础结构,不能在代码中直接使用。

 virtual System::Data::IDbCommand ^ System.Data.IDbConnection.CreateCommand() = System::Data::IDbConnection::CreateCommand;
System.Data.IDbCommand IDbConnection.CreateCommand ();
abstract member System.Data.IDbConnection.CreateCommand : unit -> System.Data.IDbCommand
override this.System.Data.IDbConnection.CreateCommand : unit -> System.Data.IDbCommand
Function CreateCommand () As IDbCommand Implements IDbConnection.CreateCommand

返回

IDbCommand

与连接关联的命令对象。A command object associated with the connection.

实现

适用于