This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Classes > S > SqlWorkspaceFactory CoClass (ArcObjects .NET 10.4 SDK) |
Sql workspace factory
The SDEWorkspaceFactory.Open method should be used to make connections to all databases and enterprise geodatabases.
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 | 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 | Indicates whether a specific interface can return Automation error objects. |
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. |
The SDEWorkspaceFactory.Open method should be used to make connections to all databases and enterprise geodatabases.