DeriveParameters Method

MySQL Connector/Net

Retrieves parameter information from the stored procedure specified in the MySqlCommand and populates the Parameters collection of the specified MySqlCommand object. This method is not currently supported since stored procedures are not available in MySql.

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

Syntax

C#
public static void DeriveParameters(
	MySqlCommand command
)
Visual Basic (Declaration)
Public Shared Sub DeriveParameters ( _
	command As MySqlCommand _
)
Visual C++
public:
static void DeriveParameters(
	MySqlCommand^ command
)

Parameters

command
Type: MySql.Data.MySqlClient..::.MySqlCommand
The MySqlCommand referencing the stored procedure from which the parameter information is to be derived. The derived parameters are added to the Parameters collection of the MySqlCommand.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe command text is not a valid stored procedure name.

See Also