获取当前连接当前使用的 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)
属性值
类型:System.Data.Common.DbCommand
DbCommand 对象实例。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。