获取当前的连接当前支持实例使用的 DbCommand 对象。
命名空间: Microsoft.VisualStudio.Data.Framework.AdoDotNet
程序集: Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)
语法
声明
Protected Property CurrentCommand As DbCommand
protected DbCommand CurrentCommand { get; set; }
protected:
property DbCommand^ CurrentCommand {
DbCommand^ get ();
void set (DbCommand^ value);
}
member CurrentCommand : DbCommand with get, set
function get CurrentCommand () : DbCommand
function set CurrentCommand (value : DbCommand)
属性值
类型:DbCommand
DbCommand 对象实例。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。