SqlDataSourceDesigner.InferParameterNames Yöntem

Tanım

Belirtilen bağlantıyı, komut metnini ve komut türünü kullanarak bir parametre dizisi döndürür.

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

Parametreler

commandText
String

Komutun metni.

commandType
SqlDataSourceCommandType

SqlDataSourceCommandType Komutun türünü belirten bir.

Döndürülenler

Bir nesne dizisi Parameter .

Şunlara uygulanır

Ayrıca bkz.