Search DaTutorials:  
HOME
ADO Tutorials
Introduction
Tutorials
Reference

Prepared Property

Indicates whether or not to create a prepared statement from the command before execution.

Settings and Return Values

Sets or returns a Boolean value.

Remarks

Use the Prepared property to have the provider save a prepared (or compiled) version of the query specified in the CommandText property before a Command object's first execution. This may slow a command's first execution, but once the provider compiles a command, the provider will use the compiled version of the command for any subsequent executions, which will result in improved performance.

If the property is False, the provider will execute the Command object directly without creating a compiled version.

If the provider does not support command preparation, it ignores any requests to prepare the command and sets the Prepared property to False.

Applies To

Command


     American Flags | Car Insurance | Mortgages | Payday Loan | Mortgage Calculator
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp