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.