Partager via


ApplicationRegistry.ImportPackage, méthode (Stream, ParseContext, PackageContents) (Microsoft.Office.Server.ApplicationRegistry.Administration)

Creates or updates the application definition for a business application in the Business Data Catalog from XML.

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

Syntaxe

'Déclaration
Public Function ImportPackage ( _
    stream As Stream, _
    context As ParseContext, _
    packageContents As PackageContents _
) As LobSystem
'Utilisation
Dim instance As ApplicationRegistry
Dim stream As Stream
Dim context As ParseContext
Dim packageContents As PackageContents
Dim returnValue As LobSystem

returnValue = instance.ImportPackage(stream, context, packageContents)
public LobSystem ImportPackage (
    Stream stream,
    ParseContext context,
    PackageContents packageContents
)

Paramètres

  • stream
    The stream to read.
  • context
    A parse context to parse the stream.
  • packageContents
    One of the PackageContents enumeration values.

Valeur de retour

An LobSystem object.

Voir aussi

Référence

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