AppCatalog.GetAppInstances method
Retrieves the app instances installed at the specified runtime context and web object.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function GetAppInstances ( _
context As ClientRuntimeContext, _
web As Web _
) As ClientObjectList(Of AppInstance)
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim returnValue As ClientObjectList(Of AppInstance)
returnValue = AppCatalog.GetAppInstances(context, _
web)
public static ClientObjectList<AppInstance> GetAppInstances(
ClientRuntimeContext context,
Web web
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe runtime context.
web
Type: Microsoft.SharePoint.Client.WebThe web object containing the app instances.
Return value
Type: Microsoft.SharePoint.Client.ClientObjectList<AppInstance>
The app instances.