VmRunWrapperSharedFolderSetAccess(VMWareVirtualMachine, String, String, Boolean) Method
Sets the writable/readonly access of a shared folder in the guest operating system of the specified virtual machine.
Namespace: DevCase.ThirdParty.VMwareAssembly: DevCase.net48.ThirdParty.VMware (in DevCase.net48.ThirdParty.VMware.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void SharedFolderSetAccess(
VMWareVirtualMachine vm,
string shareName,
string hostDirectoryPath,
bool allowWriteAccess
)
Public Sub SharedFolderSetAccess (
vm As VMWareVirtualMachine,
shareName As String,
hostDirectoryPath As String,
allowWriteAccess As Boolean
)
Dim instance As VmRunWrapper
Dim vm As VMWareVirtualMachine
Dim shareName As String
Dim hostDirectoryPath As String
Dim allowWriteAccess As Boolean
instance.SharedFolderSetAccess(vm, shareName,
hostDirectoryPath, allowWriteAccess)
public:
void SharedFolderSetAccess(
VMWareVirtualMachine^ vm,
String^ shareName,
String^ hostDirectoryPath,
bool allowWriteAccess
)
member SharedFolderSetAccess :
vm : VMWareVirtualMachine *
shareName : string *
hostDirectoryPath : string *
allowWriteAccess : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- vm VMWareVirtualMachine
-
The VMWare virtual machine.
- shareName String
-
The name of the shared folder.
- hostDirectoryPath String
-
The full path to the directory that points the shared folder on the host operating system.
- allowWriteAccess Boolean
-
If , allow write access to the shared folder; otherwise, make the shared folder read-only.