Web.LoadAndInstallApp 方法
上載並安裝應用程式封裝到此網站。
命名空間: 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
)
參數
appPackageStream
類型:System.IO.Stream應用程式套件的資料流。
傳回值
類型:Microsoft.SharePoint.Client.AppInstance
Appinstance 參考。
備註
遠端開發必須啟用此網站。