

Deployment Tools Foundation
Dispose Method (disposing)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► Dispose(Boolean)
Closes the database handle. After closing a handle, further method calls may throw InvalidHandleException.

C# | Visual Basic | Visual C++ |
protected override void Dispose( bool disposing )
Protected Overrides Sub Dispose ( disposing As Boolean )
protected: virtual void Dispose( bool disposing ) override

- disposing (Boolean)
- If true, the method has been called directly or indirectly by a user's code, so managed and unmanaged resources will be disposed. If false, only unmanaged resources will be disposed.
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)