Condividi tramite


Proprietà AdoDotNetConnectionSupport.PreparedCommands

Recupera un elenco di oggetti IDbCommand che in precedenza sono stati preparati.

Spazio dei nomi:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Sintassi

'Dichiarazione
Protected ReadOnly Property PreparedCommands As IList
protected IList PreparedCommands { get; }
protected:
property IList^ PreparedCommands {
    IList^ get ();
}
member PreparedCommands : IList with get
function get PreparedCommands () : IList

Valore proprietà

Tipo: IList
Restituisce un'istanza di un oggetto IList contenente le istanze pronte IDbCommand.

Note

Quando un client effettua una chiamata al metodo Prepare, la classe AdoDotNetConnectionSupport crea un nuovo oggetto IDbCommand e prepara il comando. Il valore restituito del metodo Prepare è una stringa che può essere passata a un tipo Prepared. i metodi Execute con il tipo Prepared. I metodi Execute quindi identificano il tipo esistente IDbCommand dalla stringa.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetConnectionSupport Classe

Spazio dei nomi Microsoft.VisualStudio.Data.AdoDotNet