ArcGIS Pro 2.6 API Reference Guide
SetDataConnectionFromUri Method

ArcGIS.Desktop.Mapping Namespace > ElevationSourceDefinition Class : SetDataConnectionFromUri Method
The uri
Sets the DataConnection to be the source identified by the uri. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetDataConnectionFromUri( 
   Uri uri
)
Public Sub SetDataConnectionFromUri( _
   ByVal uri As Uri _
) 

Parameters

uri
The uri
Exceptions
ExceptionDescription
Uri cannot be used as a data connection
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ElevationSourceDefinition Class
ElevationSourceDefinition Members