Share via


SPAppCatalog.GetAppInstances method

Gets all of the app instances installed at the specified web.

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

Syntax

'Declaration
Public Shared Function GetAppInstances ( _
    web As SPWeb _
) As IList(Of SPAppInstance)
'Usage
Dim web As SPWeb
Dim returnValue As IList(Of SPAppInstance)

returnValue = SPAppCatalog.GetAppInstances(web)
public static IList<SPAppInstance> GetAppInstances(
    SPWeb web
)

Parameters

Return value

Type: System.Collections.Generic.IList<SPAppInstance>
A collection of app instances.

Remarks

If the app instances have any localizable properties (like Title), they will be localized based on the current thread's CurrentUICulture.

See also

Reference

SPAppCatalog class

SPAppCatalog members

Microsoft.SharePoint.Administration namespace