Import Method (importFilePath)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)