SPWeb.GetAppInstanceById 方法
Retrieves an AppInstance installed on this Site.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetAppInstanceById ( _
appInstanceId As Guid _
) As SPAppInstance
用法
Dim instance As SPWeb
Dim appInstanceId As Guid
Dim returnValue As SPAppInstance
returnValue = instance.GetAppInstanceById(appInstanceId)
public SPAppInstance GetAppInstanceById(
Guid appInstanceId
)
参数
- appInstanceId
类型:System.Guid
返回值
类型:Microsoft.SharePoint.Administration.SPAppInstance