SPWeb.GetAppInstancesByProductId method
擷取所有 AppInstances 安裝在此網站上所指定的應用程式的執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
)
參數
- productId
Type: System.Guid
傳回值
Type: System.Collections.Generic.IList<SPAppInstance>