ApplicationRegistry.ImportPackage Method (String, ParseContext, Encoding, PackageContents)

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

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


Public Function ImportPackage ( _
    xml As String, _
    context As ParseContext, _
    encoding As Encoding, _
    packageContents As PackageContents _
) As LobSystem
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


Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystem
An LobSystem object.

See Also


ApplicationRegistry Class

ApplicationRegistry Members

ImportPackage Overload

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace