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
'Declaración
Protected Property ExecutingCommand As IDbCommand
Get
Set
protected IDbCommand ExecutingCommand { get; set; }
protected:
property IDbCommand^ ExecutingCommand {
IDbCommand^ get ();
void set (IDbCommand^ value);
}
member ExecutingCommand : IDbCommand with get, set
function get ExecutingCommand () : IDbCommand
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.