检索的 IDbCommand 对象列表之前做好准备。
命名空间: Microsoft.VisualStudio.Data.AdoDotNet
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Protected ReadOnly Property PreparedCommands As IList
protected IList PreparedCommands { get; }
protected:
property IList^ PreparedCommands {
IList^ get ();
}
member PreparedCommands : IList
function get PreparedCommands () : IList
属性值
类型:System.Collections.IList
返回包含准备好的 IDbCommand 实例的 IList 对象实例。
备注
当客户端仅仅是对 Prepare 方法时,AdoDotNetConnectionSupport 选件类创建新的 IDbCommand 对象并准备命令。Prepare 方法的返回值是可以传递给一个 Prepared 类型的字符串。与 Prepared 类型一起 Execute 方法。Execute 方法然后按照从字符串中现有 IDbCommand 类型。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。