Active Query Builder 2 .NET Edition reference
DetectSyntaxProvider Method



SQL context to specify database connection for SQL query execution.
Runs the database server auto-detection routine.
Syntax
'Declaration
 
Public Sub DetectSyntaxProvider( _
   ByVal sqlContext As BaseSQLContext _
) 
'Usage
 
Dim instance As AutoSyntaxProvider
Dim sqlContext As BaseSQLContext
 
instance.DetectSyntaxProvider(sqlContext)
public void DetectSyntaxProvider( 
   BaseSQLContext sqlContext
)
public: void DetectSyntaxProvider( 
   BaseSQLContext* sqlContext
) 

Parameters

sqlContext
SQL context to specify database connection for SQL query execution.
Remarks
The detection routine sends a series of server-specific SQL queries that allows to uniquely define the underlying database server. This information is used to instantiate the DetectedSyntaxProvider property with the right syntax provider. In case of auto-detection failure, the ANSI SQL/92 syntax (SQL92SyntaxProvider) will be used.
See Also

Reference

AutoSyntaxProvider Class
AutoSyntaxProvider Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback