public void SetHomeFolderPath( string folderPath )
Public Sub SetHomeFolderPath( _ ByVal folderPath As String _ )
Parameters
- folderPath
- The full path to the location that will be used as the project's home folder
public void SetHomeFolderPath( string folderPath )
Public Sub SetHomeFolderPath( _ ByVal folderPath As String _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
By default, a project's location is also its home folder. However, the home folder can be set to another location on a local or network disk. For example, new database or server connection files created in ArcGIS Pro are stored in the project's home folder. A project is required to have a home folder.
If a project is stored on a network computer, you might want to change its home folder to reference a folder on the local computer instead. Anyone who uses the project will be expected to have write access to that folder location. If a project's home folder is not available in the specified location, folders will be created accordingly to satisfy the home folder path. If a project is placed on a network computer that references a home folder in a user's profile directory on their local machine, when another person uses the same project on a different computer folders will be created to generate the original user's profile directory if the user has permission to do so.
Note that only one person can work with an ArcGIS Pro project at a time. If a project is placed on a network computer, many people can't use it at once.
Target Platforms: Windows 10, Windows 8.1