Udostępnij za pośrednictwem


SqlDataSourceDesigner.InferParameterNames Metoda

Definicja

Zwraca tablicę parametrów przy użyciu określonego połączenia, tekstu polecenia i typu polecenia.

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()

Parametry

commandText
String

Tekst polecenia.

commandType
SqlDataSourceCommandType

Element SqlDataSourceCommandType wskazujący typ polecenia.

Zwraca

Tablica Parameter obiektów.

Dotyczy

Zobacz też