VistaDB 5






Filter expression
Try to optimize filter using and existing indexes
SetFilter Method (VistaDBDataTable)
Set filter expression on the current table and try to optimize it when optimize parameter is set
Syntax
'Declaration
 
Public Sub SetFilter( _
   ByVal expression As System.String, _
   ByVal optimize As System.Boolean _
) 
'Usage
 
Dim instance As VistaDBDataTable
Dim expression As System.String
Dim optimize As System.Boolean
 
instance.SetFilter(expression, optimize)
public void SetFilter( 
   System.string expression,
   System.bool optimize
)
public procedure SetFilter( 
    expression: System.String;
    optimize: System.Boolean
); 
public function SetFilter( 
   expression : System.String,
   optimize : System.boolean
);
public: void SetFilter( 
   System.string* expression,
   System.bool optimize
) 
public:
void SetFilter( 
   System.String^ expression,
   System.bool optimize
) 

Parameters

expression
Filter expression
optimize
Try to optimize filter using and existing indexes
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