Deployment Tools Foundation
ImportAll Method (directoryPath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► ImportAll(String)
Imports all database tables, streams, and summary information from archive files.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void ImportAll( string directoryPath )
Public Sub ImportAll ( directoryPath As String )
public: void ImportAll( String^ directoryPath )
member ImportAll : directoryPath : string -> unit
Parameters
- directoryPath (String)
- Path to the directory from which archive files will be imported
Remarks
Win32 MSI API: MsiDatabaseImport
Exceptions
Exception | Condition |
---|---|
FileNotFoundException | the directory path is invalid |
InvalidHandleException | the Database handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)