Udostępnij za pośrednictwem


VmmAddInBase.OnUnload Method ()

 

Applies To: System Center 2016 - Virtual Machine Manager

Called when the add-in is unloaded.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

Syntax

public virtual void OnUnload()
public:
virtual void OnUnload()
abstract OnUnload : unit -> unit
override OnUnload : unit -> unit
Public Overridable Sub OnUnload

Remarks

This method should be overridden if any cleanup must occur before the console is shutdown or the add-in is removed from the system. For example, if you connected to a database, you would override this method and close those connections.

See Also

VmmAddInBase Class
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace

Return to top