VistaDB 6
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".


In This Topic
    SetOptimizationLevel Method
    In This Topic
    (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)", False)>
    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)", false)]
    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