ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TerrainDataSource Class / DataSourceName Property
Example

In This Topic
    DataSourceName Property (TerrainDataSource)
    In This Topic
    Gets the data source name.
    Syntax
    public string DataSourceName {get;}
    Public ReadOnly Property DataSourceName As String
    Example
    Get datasources from a Terrain
    var dsCount = terrain.GetDataSourceCount();
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainDataSource> dataSources = terrain.GetDataSources();
    foreach (var ds in dataSources)
    {
      var dsName = ds.DataSourceName;
      var surfaceType = ds.SurfaceType;
      var maxResolution = ds.MaximumResolution;
      var minResolution = ds.MinimumResolution;
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also