ApplicationRegistry.ExportPackage Method (String, Stream, PackageContents)
Generates an XML file that contains the metadata of the specified LobSystem object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub ExportPackage ( _
lobSystemName As String, _
stream As Stream, _
packageContents As PackageContents _
)
'Usage
Dim instance As ApplicationRegistry
Dim lobSystemName As String
Dim stream As Stream
Dim packageContents As PackageContents
instance.ExportPackage(lobSystemName, _
stream, packageContents)
public void ExportPackage(
string lobSystemName,
Stream stream,
PackageContents packageContents
)
Parameters
- lobSystemName
Type: System.String
The name of the LobSystem object for which you want to generate the XML file.
- stream
Type: System.IO.Stream
The stream to read.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of the PackageContents enumeration values.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace