Export Method (table, exportFilePath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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.dll) Version: 3.0.0.0 (3.9.1006.0)