ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.PluginDatastore Namespace / PluginDatasourceTemplate Class / Open Method
The connection path to the actual data source.

In This Topic
    Open Method (PluginDatasourceTemplate)
    In This Topic
    Formally opens the Plugin Datasource in order for the new data format to be integrated into ArcGIS Pro.
    Syntax
    public abstract void Open( 
       Uri connectionPath
    )
    Public MustOverride Sub Open( _
       ByVal connectionPath As Uri _
    ) 

    Parameters

    connectionPath
    The connection path to the actual data source.
    Exceptions
    ExceptionDescription
    Signals to the Framework that an exception derived from System.Exception has occurred.
    Remarks
    • When the Plugin Datasource framework calls this method, the concrete implementation is expected to perform any necessary instantiation and initialization to commence the data integration process.
    • When a Plugin Datasource add-in is loaded into the system at runtime, the framework may instantiate multiple instances of the concrete PluginDatasourceTemplate implementation. In particular, when a plug-in data source with a specific PluginDatasourceConnectionPath.PluginIdentifier is used to open a specific connectionPath, the framework will create a new instance of this concrete implementation followed by calling this Open method. If there are pertinent data that must be reflected across all instances of this concrete implementation, e.g., if the value of IsQueryLanguageSupported depends on a given data source associated with the connectionPath and if said value must be reflected across all instances in order for the framework to behave properly, then it is the responsibility of this concrete implementation to ensure the data are properly shared and/or updated.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also