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

Return value

Type: Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.

Remarks

This site must be enabled for remote development.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace