Share via


SPWeb.LoadAndInstallApp-Methode

Hochgeladen und installiert eine app-Paket.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function LoadAndInstallApp ( _
    appPackageStream As Stream _
) As SPAppInstance
'Usage
Dim instance As SPWeb
Dim appPackageStream As Stream
Dim returnValue As SPAppInstance

returnValue = instance.LoadAndInstallApp(appPackageStream)
public SPAppInstance LoadAndInstallApp(
    Stream appPackageStream
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.Administration.SPAppInstance
Die Instanz der erstellten Anwendung.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Der Parameter AppPackageStream ist ein Nullverweis (Nothing in Visual Basic).

Siehe auch

Referenz

SPWeb Klasse

SPWeb-Member

Microsoft.SharePoint-Namespace