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)

Syntax

'Declaration
Public Function GetAppInstancesByProductId ( _
    productId As Guid _
) As IList(Of SPAppInstance)
'Usage
Dim instance As SPWeb
Dim productId As Guid
Dim returnValue As IList(Of SPAppInstance)

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

Parameters

Return value

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace