Package prlsdkapi :: Class Share
[hide private]
[frames] | no frames]

Class Share

object --+    
         |    
   _Handle --+
             |
            Share

Provides methods for managing host shares. Using this class, you can make a host OS directory visible and accessible in a virtual machine.

Instance Methods [hide private]
 
remove(self)
Remove the share from the virtual machine configuration.
 
get_name(self)
Return the shared folder name (as it appears in the guest OS).
 
set_name(self, sNewShareName)
Set the share name (as it will appear in the guest OS).
 
get_path(self)
Return the shared folder path.
 
set_path(self, sNewSharePath)
Set the shared folder path.
 
get_description(self)
Return the shared folder description.
 
set_description(self, sNewShareDescription)
Set the shared folder description.
 
is_enabled(self)
Determine whether the share is enabled or not.
 
set_enabled(self, bEnabled)
Enable the specified share.
 
is_read_only(self)
Determine if the share is read-only.
 
set_read_only(self, bReadOnly)
Make the shared folder read-only.

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, get_type, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__