Deployment Tools Foundation
Export Method (table, exportFilePath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► Export(String, String)
Copies the structure and data from a specified table to a text archive file.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void Export( string table, string exportFilePath )
Public Sub Export ( table As String, exportFilePath As String )
public: void Export( String^ table, String^ exportFilePath )
member Export : table : string * exportFilePath : string -> unit
Remarks
Win32 MSI API: MsiDatabaseExport
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.11.1.2318)