SqlDataSourceDesigner.InferParameterNames Method (DesignerDataConnection, String, SqlDataSourceCommandType)

 

Returns an array of parameters using the specified connection, command text, and command type.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected internal virtual Parameter[] InferParameterNames(
	DesignerDataConnection connection,
	string commandText,
	SqlDataSourceCommandType commandType
)

Parameters

connection
Type: System.ComponentModel.Design.Data.DesignerDataConnection

A DesignerDataConnection object.

commandText
Type: System.String

The text of the command.

commandType
Type: System.Web.UI.WebControls.SqlDataSourceCommandType

A SqlDataSourceCommandType indicating the type of command.

Return Value

Type: System.Web.UI.WebControls.Parameter[]

An array of Parameter objects.

.NET Framework
Available since 2.0
Return to top
Show: