Bewerken

Share via


IDbConnection.CreateCommand Method

Definition

Creates and returns a Command object associated with the connection.

public:
 System::Data::IDbCommand ^ CreateCommand();
public System.Data.IDbCommand CreateCommand ();
abstract member CreateCommand : unit -> System.Data.IDbCommand
Public Function CreateCommand () As IDbCommand

Returns

A Command object associated with the connection.

Applies to