VistaDB 5






VistaDB.DDA Namespace > IVistaDBTable Interface > SetScope Method : SetScope(String,String) Method
The script to use by engine in order to evaluate low scope key
The script to use by engine in order to evaluate high scope key
SetScope(String,String) Method
Set scope on active index to apply filter on the number of rows. The columns referenced in the scope operators must be present in the active index for them to work correctly.
Syntax
'Declaration
 
Overloads Sub SetScope( _
   ByVal lowKeyExpression As System.String, _
   ByVal highKeyExpression As System.String _
) 
'Usage
 
Dim instance As IVistaDBTable
Dim lowKeyExpression As System.String
Dim highKeyExpression As System.String
 
instance.SetScope(lowKeyExpression, highKeyExpression)
void SetScope( 
   System.string lowKeyExpression,
   System.string highKeyExpression
)
procedure SetScope( 
    lowKeyExpression: System.String;
    highKeyExpression: System.String
); 
function SetScope( 
   lowKeyExpression : System.String,
   highKeyExpression : System.String
);
void SetScope( 
   System.string* lowKeyExpression,
   System.string* highKeyExpression
) 
void SetScope( 
   System.String^ lowKeyExpression,
   System.String^ highKeyExpression
) 

Parameters

lowKeyExpression
The script to use by engine in order to evaluate low scope key
highKeyExpression
The script to use by engine in order to evaluate high scope key
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