![]() |
This document is archived and information here might be outdated. Recommended version. |
Provides access to members that manages a GX catalog default geodatabase.
| Name | Description | |
|---|---|---|
![]() |
DefaultDatabaseName | The default geodatabase. |
![]() |
DefaultDatabaseNameNoValidate | The default geodatabase. Does not perform validation on the geodatabase. |
| Classes | Description |
|---|---|
| Application (esriArcGlobe) | Esri ArcGlobe Application. |
| Application (esriArcMap) | Esri ArcMap Application |
| Application (esriArcScene) | The 3D Modeling Application. |
| GxCatalog | GxObject that represents the catalog. |
The following code can be used to set the default geodatabase.
IWorkspaceName name = new WorkspaceNameClass();
name.WorkspaceFactoryProgID = "esriDataSourcesGDB.FileGDBWorkspaceFactory";
name.PathName = @"E:\Projects\WorldSoil\ProjectData.gdb";
IGxCatalogDefaultDatabase gdb = app as IGxCatalogDefaultDatabase;
gdb.DefaultDatabaseName = name;