SqlDataSourceDesigner.InferParameterNames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an array of parameters using the specified connection, command text, and command type.
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()
Parameters
- connection
- DesignerDataConnection
A DesignerDataConnection object.
- commandText
- String
The text of the command.
- commandType
- SqlDataSourceCommandType
A SqlDataSourceCommandType indicating the type of command.
Returns
An array of Parameter objects.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.