Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
encoding As Encoding, _
packageContents As PackageContents _
)
'Usage
Dim instance As ApplicationRegistry
Dim lobSystemName As String
Dim stream As Stream
Dim encoding As Encoding
Dim packageContents As PackageContents
instance.ExportPackage(lobSystemName, _
stream, encoding, packageContents)
public void ExportPackage(
string lobSystemName,
Stream stream,
Encoding encoding,
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.
- encoding
Type: System.Text.Encoding
The character encoding to use.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of the PackageContents enumeration values.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace