Share via


Web.GetAppInstancesByProductId method

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

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetAppInstancesByProductId ( _
    productId As Guid _
) As ClientObjectList(Of AppInstance)
'Usage
Dim instance As Web
Dim productId As Guid
Dim returnValue As ClientObjectList(Of AppInstance)

returnValue = instance.GetAppInstancesByProductId(productId)
public ClientObjectList<AppInstance> GetAppInstancesByProductId(
    Guid productId
)

Parameters

  • productId
    Type: System.Guid

    The app product identifier of the specified application.

Return value

Type: Microsoft.SharePoint.Client.ClientObjectList<AppInstance>
Application instance objects installed on this site that are instances of the specified App.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace