CreateCommand Method

MySQL Connector/Net

Creates and returns a MySqlCommand object associated with the MySqlConnection.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public MySqlCommand CreateCommand()
Visual Basic (Declaration)
Public Function CreateCommand As MySqlCommand
Visual C++
public:
MySqlCommand^ CreateCommand()

Return Value

A MySqlCommand object.

See Also