DASessionMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to DASessionMBS class.

DASessionMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The constructor.

DASessionMBS.Eject(disk as DADiskMBS, options as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Ejects the specified disk object.

disk: The disk object.
options: The eject options.
Calls Ejected event later with result.

DASessionMBS.IsClaimed(disk as DADiskMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Reports whether or not the disk is claimed.

disk: The disk object.
Returns true if the disk is claimed, otherwise false.

DASessionMBS.Mount(disk as DADiskMBS, path as string, options as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Mounts the volume at the specified disk object.

disk: The disk object.
path: The mount path. Pass empty string for a "standard" mount path.
options: The mount options.
Calls Mounted event later.

DASessionMBS.MountWithArguments(disk as DADiskMBS, path as string, arguments() as string, options as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Mounts the volume at the specified disk object, with the specified mount options.

disk: The disk object.
path: The mount path. Pass empty string for a "standard" mount path.
options: The mount options.
arguments: The list of mount options to pass to /sbin/mount -o.

DASessionMBS.Rename(disk as DADiskMBS, name as string, options as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Renames the volume at the specified disk object.

disk: The disk object.
options: The rename options.
Calls later the Renamed event with result.

DASessionMBS.Unclaim(disk as DADiskMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Unclaims the specified disk object.

DASessionMBS.Unmount(disk as DADiskMBS, options as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Unmounts the volume at the specified disk object.

disk: The disk object.
options: The unmount options.
Calles Unmounted event later.

Some examples using this method:

The items on this page are in the following plugins: MBS MacOSX Plugin.


💬 Ask a question or report a problem