Partager via


AdoDotNetConnectionSupport.CurrentCommand Property

Gets the DbCommand object currently being used by the current connection support instance.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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)

Property Value

Type: System.Data.Common.DbCommand
A DbCommand object instance.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace