清单6演示如何禁用清单2中的PositiveNos测试。
Listing 6 demonstrates what you need to do if you want to disable the PositiveNos test from Listing 2.
表单页面还可以包含一个复选框,它允许用户对当前页面启用或禁用自动保存功能(参见清单15)。
The form page can also contain a check box that allows the user to enable and disable the auto-saving feature for the current page (see Listing 15).
清单15 中的第二个代码片段使用了HTMLselectBooleanCheckbox,以便动态处理禁用或启用验证操作。
The second snippet of code in Listing 15 makes use of an HTML selectBooleanCheckbox to dynamically handle disabling or enabling validation.
必要时,可以使用下面清单14中的sql语句禁用系统默认值压缩。
If required, you can disable system default compression again by using an SQL statement, as in Listing 14 below.
清单9:禁用事务日志归档模式,并删除所有归档的事务日志文件。
Listing 9: Disable the transaction log archive mode, and delete all the archived transaction log files.
在备用计算机上,首先禁用数据库,然后发出starthadr命令,将其作为备用数据库启动(清单7)。
On the standby machine, first deactivate the database and then issue the start hadr command to start it as the standby database (Listing 7).
清单20中所示的方法可以进一步修改,以使这些选中的节点能在一个启用了的节点被选中后单击某个被禁用的节点时仍保持其样式,如清单21所示。
The method shown in Listing 20 can further be modified as shown in Listing 21, so that the selected nodes keep their style when clicking on a disabled node after an enabled node was already selected.
在使用首次创建的事件监控器之前,您必须首先禁用数据库然后再激活它,或手动运行事件监控器,如清单15所示。
Before you can use the event monitors after you first create them, you either have to deactivate and activate the database or manually start the event monitors, as shown in Listing 15.
如果应用程序已经使用这些字段名称,可以轻松地禁用此功能,如清单17所示。
If your application is already using those field names, you can easily disable this feature, as shown in Listing 17.
清单20 中所示的方法可用来忽略onClick事件,只返回某个被禁用了的节点是否被单击。
The method shown in Listing 20 can be used to ignore the onClick event by simply returning if a disabled node was clicked on.
注意,如果禁用了任何测试,Google框架会在测试执行结束时输出警告消息,见清单7。
Note that the Google framework prints a warning at the end of the test execution if there are any disabled tests, as shown in Listing 7.
医生必须给服用MAOI的患者提供一张完整清单,列出禁用食物,药物及其他物质。
A doctor should give a patient taking an MAOI a complete list of prohibited foods, medicines and substances.
医生必须给服用MAOI的患者提供一张完整清单,列出禁用食物,药物及其他物质。
A doctor should give a patient taking an MAOI a complete list of prohibited foods, medicines and substances.
应用推荐