

Deployment Tools Foundation
Import Method (importFilePath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► Import(String)
Imports a database table from a text archive file, dropping any existing table.

C# | Visual Basic | Visual C++ | F# |
public void Import( string importFilePath )
Public Sub Import ( importFilePath As String )
public: void Import( String^ importFilePath )
member Import : importFilePath : string -> unit

- importFilePath (String)
- Path to the file to be imported. The table name is specified within the file.

Win32 MSI API: MsiDatabaseImport

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.11.1.2318)