Partager via


UserMgmtManager.Dispose Method (Boolean)

 

Releases the unmanaged resources used by the UserMgmtManager object and optionally releases the managed resources.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
Protected Overridable Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

When disposing is true, this method releases all resources held by any managed objects that are referenced by the UserMgmtManager object. This method invokes the Dispose method of each referenced object.

See Also

Dispose Overload
UserMgmtManager Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top