![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public void ImportAll( string directoryPath )
Public Sub ImportAll ( directoryPath As String )
public: void ImportAll( String^ directoryPath )
![](collapse_all.gif)
- directoryPath (String)
- Path to the directory from which archive files will be imported
![](collapse_all.gif)
Win32 MSI API: MsiDatabaseImport
![](collapse_all.gif)
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)