DestroyFolder

Destroys the specified
Folder
.
This method requires
VcDr.ProtectionProfile.com.vmware.vcDr.Delete
privilege for protection group folders and
VcDr.RecoveryProfile.com.vmware.vcDr.Delete
for recovery plan folders.

Synopsis

@task void destroyFolder();
destroyFolder
returns a task instance to monitor the asynchronous operation of this method.
If a task fails, its error field may contain one of the following:
  • drextapi.fault.NotEmpty
    - if this folder still contains child items.
  • drextapi.fault.ConnectionDownFault
    - if the sites are not connected.

Faults

  • RuntimeFault