Import Method (importFilePath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Import Method (importFilePath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseImport(String)
Imports a database table from a text archive file, dropping any existing table.
Declaration Syntax
C# Visual Basic Visual C++
public void Import(
	string importFilePath
)
Public Sub Import ( 
	importFilePath As String
)
public:
void Import(
	String^ importFilePath
)
Parameters
importFilePath (String)
Path to the file to be imported. The table name is specified within the file.
Remarks

Win32 MSI API: MsiDatabaseImport

Exceptions
Exception Condition
FileNotFoundException the file 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)