dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / RetryParameterBindingOnError Property

RetryParameterBindingOnError Property
Indicates whether the provider will re-execute failed statements.
Syntax
'Declaration
 
Public Property RetryParameterBindingOnError As Boolean
 

Property Value

true, if the XML data should be retrieved in a binary format; otherwise, false. Default value is true.
Remarks
If parameters are defined with an incorrect datatype, this will result in an error. When this property is set to true, the describe information is used to attempt to determine the correct datatype for the parameter and the statement is re-executed. Setting RetryParameterBindingOnError to true will preserve this functionality. However, this may decrease performance, so it is recommended to set it to false and define parameters correctly.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also