CreateCommand Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Creates and returns a MySqlCommand object associated with the MySqlConnection.

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

Syntax

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

Return Value

A MySqlCommand object.

See Also