ISqlWorkspace2 Interface

Query layer workspace interface

Members

Name Description
Method CheckDatasetName Returns unique name in the workspace.
Method GetColumns Returns column information for a table.
Method GetQueryDescription Get query properties including spatial based on the first record of the query.
Method GetQueryDescription2 Get query properties, optionally including spatial based on the first record of the query.
Method GetTables Returns names of all the table.
Method OpenQueryClass Returns a table or a feature class based on a query.
Method OpenQueryCursor Returns a cursor based on a query.

ISqlWorkspace2.GetQueryDescription2 Method

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

Public Function GetQueryDescription2 ( _
    ByVal Query As String, _
    ByVal discoverSpatialProperties As Boolean _
) As IQueryDescription
public IQueryDescription GetQueryDescription2 (
    string Query,
    bool discoverSpatialProperties
);

Inherited Interfaces

Interfaces Description
ISqlWorkspace Query layer workspace interface

Classes that implement ISqlWorkspace2

Classes Description
SqlWorkspace (esriDataSourcesGDB) Sql workspace

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close