Proprietà AdoDotNetConnectionSupport.ExecutingCommand
Recupera l'istanza IDbCommand attualmente utilizzata per l'esecuzione.
Spazio dei nomi: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Sintassi
'Dichiarazione
Protected Property ExecutingCommand As IDbCommand
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)
Valore proprietà
Tipo: IDbCommand
Restituisce un'istanza di un oggetto IDbCommand.
Note
Questo valore viene impostato alle chiamate ai diversi metodi Execute e viene reimpostato su nullriferimento null (Nothing in Visual Basic) la fine della chiamata. Consente alle classi che eseguono l'overload di tutto o parte dei metodi Execute per ottenere l'accesso all'oggetto IDbCommand utilizzato per l'esecuzione.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.