SqlWorkspaceFactoryClass

Sql workspace factory

Description

The SDEWorkspaceFactory.Open method should be used to make connections to all databases and enterprise geodatabases.

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
IRemoteDatabaseWorkspaceFactory (esriGeoDatabase) Provides access to members that manage remote database connection information.
ISqlDefaultConnectionInfo (esriGeoDatabase) Provides access to default connection information for a remote database (QueryLayers).
ISupportErrorInfo (esriSystem)
IWorkspaceFactory (esriGeoDatabase) Provides access to members that create and open workspaces and supply workspace factory information.
IWorkspaceFactory2 (esriGeoDatabase) Provides access to members that create and open workspaces and supply workspace factory information.

Remarks

The SDEWorkspaceFactory.Open method should be used to make connections to all databases and enterprise geodatabases.

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