Share via


AdoDotNetConnectionSupport.ExecutingCommand Property

Retrieves the IDbCommand instance currently being used for execution.

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

Syntax

'Declaration
Protected Property ExecutingCommand As IDbCommand
'Usage
Dim value As IDbCommand 

value = Me.ExecutingCommand 

Me.ExecutingCommand = value
protected IDbCommand ExecutingCommand { get; set; }
protected:
property IDbCommand^ ExecutingCommand {
    IDbCommand^ get ();
    void set (IDbCommand^ value);
}
protected function get ExecutingCommand () : IDbCommand 
protected function set ExecutingCommand (value : IDbCommand)

Property Value

Type: System.Data.IDbCommand
Returns an IDbCommand object instance.

Remarks

This value is set at the beginning of calls to the various Execute methods and is reset to nulla null reference (Nothing in Visual Basic) on conclusion of the call. It allows classes that overload all or part of the execute methods to get access to the IDbCommand object being used for execution.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace