ImportAll Method (directoryPath)

Microsoft Deployment Tools

Deployment Tools Foundation ImportAll Method (directoryPath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseImportAll(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
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) Version: 3.0.0.0 (3.5.1623.0)