ArcGIS Pro 2.7 API Reference Guide
CanSetDataConnectionFromUri Method

ArcGIS.Desktop.Mapping Namespace > ElevationSourceDefinition Class : CanSetDataConnectionFromUri Method
The uri
Checks whether the uri can be used as the DataConnection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool CanSetDataConnectionFromUri( 
   Uri uri
)
Public Function CanSetDataConnectionFromUri( _
   ByVal uri As Uri _
) As Boolean

Parameters

uri
The uri

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ElevationSourceDefinition Class
ElevationSourceDefinition Members