Exports a Web site as a Microsoft SharePoint Server solution.
Public NotInheritable Class SPSolutionExporter
Dim instance As SPSolutionExporter
An instance of this class represents a single export run and is not reusable. To enforce this, the class publicly exposes a single static method. This static method will create an instance, export the site, and then release the object.