Partager via


ApplicationRegistry.ExportPackage, méthode (String, Stream, Encoding, PackageContents) (Microsoft.Office.Server.ApplicationRegistry.Administration)

Generates an XML file that contains the metadata of the specified LobSystem object.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Sub ExportPackage ( _
    lobSystemName As String, _
    stream As Stream, _
    encoding As Encoding, _
    packageContents As PackageContents _
)
'Utilisation
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
)

Paramètres

  • lobSystemName
    The name of the LobSystem object for which you want to generate the XML file.
  • stream
    The stream to read.
  • encoding
    The character encoding to use.
  • packageContents
    One of the PackageContents enumeration values.

Voir aussi

Référence

ApplicationRegistry, classe
Membres ApplicationRegistry
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms