ImportAll Method (directoryPath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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.dll) Version: 3.0.0.0 (3.9.1006.0)