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
web
Type: Microsoft.SharePoint.SPWebThe SPWeb object containing the SPAppInstance object.
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.