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++ |
public void ImportAll( string directoryPath )
Public Sub ImportAll ( directoryPath As String )
public: void ImportAll( String^ directoryPath )
Parameters- directoryPath (String)
- Path to the directory from which archive files will be imported
RemarksWin32 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.9.1006.0)