ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core.DeviceLocation Namespace / IDeviceLocationService Interface / IsDeviceConnected Method

In This Topic
    IsDeviceConnected Method (IDeviceLocationService)
    In This Topic
    Returns the connection status of the selected location source.
    Syntax
    bool IsDeviceConnected()
    Function IsDeviceConnected() As Boolean

    Return Value

    returns true if CurrentSource is connected; false if no connected.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also