Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- productId
Type: System.Guid
Return value
Type: System.Collections.Generic.IList<SPAppInstance>