ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Data Namespace / FileSystemDatastore Class / FileSystemDatastore Constructor
The folder that contains datasets of a specific Type.

In This Topic
    FileSystemDatastore Constructor
    In This Topic
    Opens a folder that contains datasets of type Type. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public FileSystemDatastore( 
       FileSystemConnectionPath connectionPath
    )
    Public Function New( _
       ByVal connectionPath As FileSystemConnectionPath _
    )

    Parameters

    connectionPath
    The folder that contains datasets of a specific Type.
    Exceptions
    ExceptionDescription
    connectionPath is null.
    The directory corresponding to connectionPath does not exist.
    The path to the file-system data store is invalid or the data store cannot be opened.
    A geodatabase-related exception has occurred.
    This object must be created within the lambda or delegate passed to QueuedTask.Run, or on a compatible STA thread.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also