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

SurfaceType Property (TerrainDataSource)
Gets the surface type. This defines how the geometry is incorporated into the triangulation for the surface.
Syntax
public TinSurfaceType SurfaceType {get;}
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