MoveGroup
This method moves specified ProtectionGroup to a different folder.
Synopsis
@task void moveGroup(drextapi.Folderdestination);
moveGroup
returns a
task instance to monitor the asynchronous operation of this method. It has the
following parameters:
Field | Description |
---|---|
destination | Folder which will become the new parent folder
of this group. For more information, see SRM Folder. |
If a task fails, its error field may contain one of the following:
- drextapi.fault.DuplicateName- A ProtectionGroup with the same name already exists within the destination folder.
- vim.fault.NotSupported- if the ProtectionGroup is being moved into a folder whose childType() property is not set to the appropriate value. For example, a ProtectionGroup cannot be moved into a folder whose ChildType property value does not contain "ProtectionGroup".
- drextapi.fault.ConnectionDownFault- if the sites are not connected.