Web.LoadAndInstallApp method
Uploads and installs an app package to this site.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function LoadAndInstallApp ( _
appPackageStream As Stream _
) As AppInstance
'Usage
Dim instance As Web
Dim appPackageStream As Stream
Dim returnValue As AppInstance
returnValue = instance.LoadAndInstallApp(appPackageStream)
public AppInstance LoadAndInstallApp(
Stream appPackageStream
)
Parameters
appPackageStream
Type: System.IO.StreamThe stream of the app package.
Return value
Type: Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.
Remarks
This site must be enabled for remote development.