Destroying a Virtual Application

When a VirtualApp object is destroyed, all of its virtual machines and any child virtual applications are destroyed.

The VirtualAppVAppState type defines the set of states a VirtualApp object can be in. The transitory state between started and stopped is modeled explicitly, since the starting or stopping of a virtual application might take minutes to complete.

The life-time of a linked child is determined by the destroyWithParent property on the VAppEntityConfigInfo data object. If set to true, the child is destroyed when the parent virtual application is destroyed. Otherwise, only the link is removed when the virtual application is destroyed.