This document is archived and information here might be outdated.  Recommended version.


ISqlWorkspace2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ISqlWorkspace2 Interface

Query layer workspace interface

Product Availability

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

Members

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.

Inherited Interfaces

Interfaces Description
ISqlWorkspace Query layer workspace interface

CoClasses that implement ISqlWorkspace2

CoClasses and Classes Description
SqlWorkspace (esriDataSourcesGDB) Sql workspace