Export Method (table, exportFilePath)

Microsoft Deployment Tools

Deployment Tools Foundation Export Method (table, exportFilePath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseExport(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
)
Parameters
table (String)
Name of the table to be exported
exportFilePath (String)
Path to the file to be created
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) Version: 3.0.0.0 (3.5.1623.0)