Core function
New in package 162.3Syntax
MountVolumeForPath( path )
Parameters
Parameter | Description |
---|---|
path | network folder path to mount/connect to, in UNC format. |
Return Value
true if finished successfully, false if canceled, throws exception if error.
Description
Tries to mount a network volume the path is located on. Does nothing and returns true if the volume is already mounted.
Throws an exception if:
- Path is relative or incomplete.
- Mount was canceled by user/has failed.