Provides access to members that manages a GX catalog default geodatabase.
Product Availability
Available with ArcGIS Desktop.
Members
Description | ||
---|---|---|
DefaultDatabaseName | The default geodatabase. | |
DefaultDatabaseNameNoValidate | The default geodatabase. Does not perform validation on the geodatabase. |
CoClasses that implement IGxCatalogDefaultDatabase
CoClasses and Classes | Description |
---|---|
Application (esriArcGlobe) | ESRI ArcGlobe Application. |
Application (esriArcMap) | ESRI ArcMap Application |
Application (esriArcScene) | The 3D Modeling Application. |
GxCatalog | GxObject that represents the catalog. |
[C#]
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;