ApplicationRegistry.ExportPackage Method (String, Stream, PackageContents)
NOTE: This API is now obsolete.
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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.")> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.")]
public void ExportPackage(
string lobSystemName,
Stream stream,
PackageContents packageContents
)
Parameters
lobSystemName
Type: System.StringThe name of the LobSystem object for which you want to generate the XML file.
stream
Type: System.IO.StreamThe stream to read.
packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContentsOne of the PackageContents enumeration values.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace