

Deployment Tools Foundation
FromHandle Method (handle, ownsHandle)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► FromHandle(IntPtr, Boolean)
Creates a new Database object from an integer database handle.

C# | Visual Basic | Visual C++ | F# |
public static Database FromHandle( IntPtr handle, bool ownsHandle )
Public Shared Function FromHandle ( handle As IntPtr, ownsHandle As Boolean ) As Database
public: static Database^ FromHandle( IntPtr handle, bool ownsHandle )
static member FromHandle : handle : IntPtr * ownsHandle : bool -> Database


This method is only provided for interop purposes. A Database object should normally be obtained from Database or a public Database constructor.
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)