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

定义

创建并返回一个与该 OleDbCommand 关联的 OleDbConnection 对象。Creates and returns an OleDbCommand object associated with the OleDbConnection.

public:
 System::Data::OleDb::OleDbCommand ^ CreateCommand();
public System.Data.OleDb.OleDbCommand CreateCommand ();
override this.CreateCommand : unit -> System.Data.OleDb.OleDbCommand
Public Function CreateCommand () As OleDbCommand

返回

适用于

另请参阅