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++ |
public void Export( string table, string exportFilePath )
Public Sub Export ( table As String, exportFilePath As String )
public: void Export( String^ table, String^ exportFilePath )
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.9.1006.0)