SPWeb.GetAppInstancesByProductId 方法

Retrieves all AppInstances installed on this site that are instances of the specified App.

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

语法

声明
Public Function GetAppInstancesByProductId ( _
    productId As Guid _
) As IList(Of SPAppInstance)
用法
Dim instance As SPWeb
Dim productId As Guid
Dim returnValue As IList(Of SPAppInstance)

returnValue = instance.GetAppInstancesByProductId(productId)
public IList<SPAppInstance> GetAppInstancesByProductId(
    Guid productId
)

参数

返回值

类型:System.Collections.Generic.IList<SPAppInstance>

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间