ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / DefaultGeodatabasePath Property
Example

In This Topic
    DefaultGeodatabasePath Property
    In This Topic
    Gets the current project's default geodatabase
    Syntax
    public string DefaultGeodatabasePath {get;}
    Public ReadOnly Property DefaultGeodatabasePath As String
    Example
    Get the project's default gdb path
    var projGDBPath = Project.Current.DefaultGeodatabasePath;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also