Share via


AdoDotNetConnectionSupport.PreparedCommands Property

Retrieves a list of IDbCommand objects that have been previously prepared.

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

Syntax

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

Property Value

Type: System.Collections.IList
Returns an IList object instance containing prepared IDbCommand instances.

Remarks

When a client makes a call to the Prepare method, the AdoDotNetConnectionSupport class creates a new IDbCommand object and prepares the command. The return value of the Prepare method is a string that can then be passed to one of the Prepared type. The Execute methods along with the Prepared type. The Execute methods then identify the existing IDbCommand type from the string.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace