Compartir a través de


SqlDataSourceDesigner.InferParameterNames Método

Definición

Devuelve una matriz de parámetros que usan la conexión, el texto del comando y el tipo de comando especificados.

protected public:
 virtual cli::array <System::Web::UI::WebControls::Parameter ^> ^ InferParameterNames(System::ComponentModel::Design::Data::DesignerDataConnection ^ connection, System::String ^ commandText, System::Web::UI::WebControls::SqlDataSourceCommandType commandType);
protected internal virtual System.Web.UI.WebControls.Parameter[] InferParameterNames (System.ComponentModel.Design.Data.DesignerDataConnection connection, string commandText, System.Web.UI.WebControls.SqlDataSourceCommandType commandType);
abstract member InferParameterNames : System.ComponentModel.Design.Data.DesignerDataConnection * string * System.Web.UI.WebControls.SqlDataSourceCommandType -> System.Web.UI.WebControls.Parameter[]
override this.InferParameterNames : System.ComponentModel.Design.Data.DesignerDataConnection * string * System.Web.UI.WebControls.SqlDataSourceCommandType -> System.Web.UI.WebControls.Parameter[]
Protected Friend Overridable Function InferParameterNames (connection As DesignerDataConnection, commandText As String, commandType As SqlDataSourceCommandType) As Parameter()

Parámetros

commandText
String

Texto del comando.

commandType
SqlDataSourceCommandType

SqlDataSourceCommandType que indica el tipo de comando.

Devoluciones

Matriz de objetos Parameter.

Se aplica a

Consulte también