ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / SurfaceConstraint Class / DataSourceName Property
Example

In This Topic
    DataSourceName Property (SurfaceConstraint)
    In This Topic
    Gets the data source name.
    Syntax
    public string DataSourceName {get;}
    Public ReadOnly Property DataSourceName As String
    Example
    Get Surface Constraint information from a LAS Dataset
    var constraintCount = lasDataset.GetSurfaceConstraintCount();
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.SurfaceConstraint> constraints = lasDataset.GetSurfaceConstraints();
    foreach (var constraint in constraints)
    {
      var dsName = constraint.DataSourceName;
      var wksPath = constraint.WorkspacePath;
      var heightField = constraint.HeightField;
      var surfaceType = constraint.SurfaceType;
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also