Indicates to the server that the IDisposable object (and its associated image and text resources) are no longer needed and should be disposed of by the system.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public Sub Dispose 'Usage Dim instance As SPLongOperation instance.Dispose()
public void Dispose()
Call Dispose when you are finished using the SPLongOperation class. The Dispose method leaves the SPLongOperation class in an unusable state. After calling Dispose, you must release all references to the SPLongOperation class so the garbage collector can reclaim the memory that the SPLongOperation class was occupying.