SPWeb.GetAppInstancesByProductId method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in 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


Return value

Type: System.Collections.Generic.IList<SPAppInstance>

See also


SPWeb class

SPWeb members

Microsoft.SharePoint namespace