![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
ExportAll Method (directoryPath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► ExportAll(String)
Exports all database tables, streams, and summary information to archive files.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public void ExportAll( string directoryPath )
Public Sub ExportAll ( directoryPath As String )
public: void ExportAll( String^ directoryPath )
member ExportAll : directoryPath : string -> unit
![](collapse_all.gif)
- directoryPath (String)
- Path to the directory where archive files will be created
![](collapse_all.gif)
The directory will be created if it does not already exist.
Win32 MSI API: MsiDatabaseExport
![](collapse_all.gif)
Exception | Condition |
---|---|
FileNotFoundException | the directory 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)