DataSourceDesigner.Configure 方法
定义
启动设计宿主中的数据源配置实用工具。Launches the data source configuration utility in the design host.
public:
virtual void Configure();
public virtual void Configure ();
abstract member Configure : unit -> unit
override this.Configure : unit -> unit
Public Overridable Sub Configure ()
实现
例外
已尝试在基类中调用此方法。An attempt was made to invoke this method in the base class.
注解
Configure类不支持该方法 DataSourceDesigner ; 但是,它可以由从类继承的自定义数据源设计器重写 DataSourceDesigner 。The Configure method is not supported in the DataSourceDesigner class; however, it can be overridden by custom data source designers inheriting from the DataSourceDesigner class.
在设计宿主(如 Visual Studio 2005)中,可以 Configure 通过完成以下过程来查看操作中的方法:In a design host such as Visual Studio 2005, you can see the Configure method in action by completing the following process:
SqlDataSource在页面上放置一个或一个 AccessDataSource 控件。Put a SqlDataSource or an AccessDataSource control on your page.
在设计视图中,单击 "操作" 列表中的 " 配置"。In Design view, on the action list, clicking Configure.