Partager via


ApplicationRegistry.ImportPackage, méthode (String, ParseContext, Encoding, 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 ( _
    xml As String, _
    context As ParseContext, _
    encoding As Encoding, _
    packageContents As PackageContents _
) As LobSystem
'Utilisation
Dim instance As ApplicationRegistry
Dim xml As String
Dim context As ParseContext
Dim encoding As Encoding
Dim packageContents As PackageContents
Dim returnValue As LobSystem

returnValue = instance.ImportPackage(xml, context, encoding, packageContents)
public LobSystem ImportPackage (
    string xml,
    ParseContext context,
    Encoding encoding,
    PackageContents packageContents
)

Paramètres

  • xml
    The reader to read.
  • context
    A parse context to parse the stream.
  • encoding
    The character encoding to use.
  • 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