Web.LoadAndInstallApp-Methode
Uploads and installs an app package to this site.
Namespace: Microsoft.SharePoint.Client
Assemblys: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll) 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
)
Parameter
appPackageStream
Typ: System.IO.StreamThe stream of the app package.
Rückgabewert
Typ: Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.
Hinweise
This site must be enabled for remote development.