Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.LoadAndInstallApp method

SharePoint 2013

Uploads and installs an app package.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
[ClientCallableAttribute]
[ClientCallableMethodAttribute(ReturnObjectIdentity = true)]
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 null.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.