ArcGIS Pro 2.8 API Reference Guide
FileSystemDatastore Constructor

ArcGIS.Core.Data Namespace > FileSystemDatastore Class : FileSystemDatastore Constructor
The folder that contains datasets of a specific FileSystemConnectionPath.Type.
Opens a folder that contains datasets of type FileSystemConnectionPath.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 FileSystemConnectionPath.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 10, Windows 8.1

See Also

Reference

FileSystemDatastore Class
FileSystemDatastore Members