Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWeb.LoadAndInstallApp method

SharePoint 2013

Uploads and installs an app package.

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

public SPAppInstance LoadAndInstallApp(
	Stream appPackageStream
)

Parameters

appPackageStream
Type: System.IO.Stream

The stream of the app package.

Return value

Type: Microsoft.SharePoint.Administration.SPAppInstance
The instance of the created application.

ExceptionCondition
ArgumentNullException

The AppPackageStream parameter is a null reference (Nothing in Visual Basic).

Show:
© 2015 Microsoft