OleDbConnection.IDbConnection.CreateCommand OleDbConnection.IDbConnection.CreateCommand OleDbConnection.IDbConnection.CreateCommand Method

定义

创建并返回与连接关联的命令对象。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 ();
Function CreateCommand () As IDbCommand Implements IDbConnection.CreateCommand

返回

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

实现

适用于