VistaDB 5






VistaDB.Provider Namespace > VistaDBConnection Class : SetOptimizationLevel Method
The desired optimization level as a string. Currently supported values (case-insensitive): "Off", "Original"/"Orig", "Old", "On"/"New".
SetOptimizationLevel Method
(BETA ONLY) Change the current optimization setting of this (open) VistaDBConnection. This setting can also be changed by executing the "SET OPTIMIZATION {0}" SQL command with the desired option.
Syntax
'Declaration
 
<System.ObsoleteAttribute("WARNING: This method is only available temporarily in this BETA release and may not exist in subsequent beta releases or in the final 5.0 release.  (for Data Builder use only)")>
Public Sub SetOptimizationLevel( _
   ByVal optimizationLevel As System.String _
) 
'Usage
 
Dim instance As VistaDBConnection
Dim optimizationLevel As System.String
 
instance.SetOptimizationLevel(optimizationLevel)
[System.Obsolete("WARNING: This method is only available temporarily in this BETA release and may not exist in subsequent beta releases or in the final 5.0 release.  (for Data Builder use only)")]
public void SetOptimizationLevel( 
   System.string optimizationLevel
)
public procedure SetOptimizationLevel( 
    optimizationLevel: System.String
); 
System.ObsoleteAttribute("WARNING: This method is only available temporarily in this BETA release and may not exist in subsequent beta releases or in the final 5.0 release.  (for Data Builder use only)")
public function SetOptimizationLevel( 
   optimizationLevel : System.String
);
[System.Obsolete("WARNING: This method is only available temporarily in this BETA release and may not exist in subsequent beta releases or in the final 5.0 release.  (for Data Builder use only)")]
public: void SetOptimizationLevel( 
   System.string* optimizationLevel
) 
[System.Obsolete("WARNING: This method is only available temporarily in this BETA release and may not exist in subsequent beta releases or in the final 5.0 release.  (for Data Builder use only)")]
public:
void SetOptimizationLevel( 
   System.String^ optimizationLevel
) 

Parameters

optimizationLevel
The desired optimization level as a string. Currently supported values (case-insensitive): "Off", "Original"/"Orig", "Old", "On"/"New".
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