For additional methods that allow more detailed inspection of the query, see 
SQL Engine parse tree methods for .NET. Those methods are required for working in SQL pass-through mode, in table expression pushdown mode, and are otherwise optional, for when you need to retrieve additional data from the parse tree.
  
 
  
   If your IP is to be implemented for SQL pass-through mode, use only methods that are documented in 
SQL Engine parse tree methods for .NET.