Specifies whether the source of the DECommand object is prepared before the DECommand object is executed.
Syntax
object.Prepared [=Boolean]
The Prepared property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an item in the Applies To list. |
Boolean | A Boolean expression that specifies whether the source of the DECommand object is prepared before the DECommand object is executed. The default is False. |
Remarks
The provider produces a compiled representation of the DECommand object during the first invocation. When the representation is maintained, preparing implies that successive invocations of the DECommand object are accelerated.
If the provider cannot prepare a DECommand object, an exception indicates that Prepared DECommand objects are not supported. This occurs when you attempt to set this property to True.
This property corresponds to the ADO Command Prepared property.