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

ExecutionMode Property
Determines whether previously captured statements should be executed statically for client optimization using pureQuery.
Syntax
'Declaration
 
Public Property ExecutionMode As String
 

Property Value

Can be either "static" or "dynamic".

"static" means that statements that are captured and packaged in the database are executed statically, statements that have not been captured will be executed dynamically.

"dynamic" means that all statements will be processed dynamically.

Remarks
An error is thrown if CaptureMode="on" while ExecutionMode="STATIC".
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