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


SqlWorkspace Class (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesGDB)  

SqlWorkspace Class

Sql workspace

SqlWorkspace is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IDatabaseConnectionInfo2 (esriGeoDatabase) Provides access to members that provide information about the Workspace's connected database.
IDataset (esriGeoDatabase) Provides access to members that supply dataset information.
IFeatureWorkspace (esriGeoDatabase) Provides access to members that create and open various types of datasets and other workspace level objects.
ISQLSyntax (esriGeoDatabase) Provides access to members that supply information about SQL functionality.
ISqlWorkspace2 (esriGeoDatabase) Query layer workspace interface
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.
IWorkspace (esriGeoDatabase) Provides access to members that have information about the workspace.
IWorkspaceConfiguration (esriGeoDatabase) Provides access to configuration keywords.
IWorkspaceProperties (esriGeoDatabase) Provides access to members that control the workspace properties.