ImpersonationHelper.Dispose Method (Boolean)
Implementation of the IDisposable interface.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Sub Dispose ( _
disposing As Boolean _
)
'Usage
Dim instance As ImpersonationHelper
Dim disposing As Boolean
instance.Dispose(disposing)
public void Dispose(
bool disposing
)
Parameters
- disposing
Type: System.Boolean
If true, the object to be disposed is finalized and collected by the garbage collector; otherwise, false.
Remarks
This method calls the Undo method if it is still performing impersonation. It also calls the UnloadUserProfile method.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace