Web.LoadAndInstallApp 方法

Uploads and installs an app package to this site.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Function LoadAndInstallApp ( _
    appPackageStream As Stream _
) As AppInstance
用法
Dim instance As Web
Dim appPackageStream As Stream
Dim returnValue As AppInstance

returnValue = instance.LoadAndInstallApp(appPackageStream)
public AppInstance LoadAndInstallApp(
    Stream appPackageStream
)

参数

返回值

类型:Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.

备注

This site must be enabled for remote development.

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间