public Table OpenTable( QueryDescription queryDescription )
Public Function OpenTable( _ ByVal queryDescription As QueryDescription _ ) As Table
Parameters
- queryDescription
- The QueryDescription object.
public Table OpenTable( QueryDescription queryDescription )
Public Function OpenTable( _ ByVal queryDescription As QueryDescription _ ) As Table
Exception | Description |
---|---|
System.ArgumentNullException | queryDescription is null. |
GeodatabaseException | A database-related exception has occurred. |
QueryDescription
. The first is created by GetQueryDescription(String). Given a table name (fully qualified or unqualified), it encapsulates all the important properties that describe the underlying single table (i.e., QueryDescription.IsQueryLayer returns false). The second flavor is created by GetQueryDescription(String,String). Given a valid SQL SELECT statement and a query layer name, it encapsulates all the important properties that describe the underlying query layer that is created from one or more tables (i.e., QueryDescription.IsQueryLayer returns true). If the table returned is a FeatureClass, the spatial type is taken from the first row returned. To remove ambiguity, QueryDescription.SetShapeType should be called prior to calling this routine.Target Platforms: Windows 10, Windows 8.1, Windows 7