ArcObjects Library Reference (GeoDatabase)  

ISqlWorkspace.GetQueryDescription Method

Get query properties including spatial based on the first record of the query.

[Visual Basic .NET]
Public Function GetQueryDescription ( _
    ByVal Query As String _
) As IQueryDescription
[C#]
public IQueryDescription GetQueryDescription (
    string Query
);
[C++]
HRESULT GetQueryDescription(
  BSTR Query,
  IQueryDescription** ppQueryDescription
);
[C++]

Parameters

Query [in]   Query is a parameter of type BSTR ppQueryDescription [out, retval]

  ppQueryDescription is a parameter of type IQueryDescription

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

FDO_E_SE_TOO_MANY_LAYERS - The field set of the SQL query include multiple geometry columns.

See Also

ISqlWorkspace Interface