AppCatalog.GetAppInstances método
Recupera as instâncias do aplicativo instaladas no objeto especificado runtime contexto e da web.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)
Sintaxe
'Declaração
Public Shared Function GetAppInstances ( _
context As ClientRuntimeContext, _
web As Web _
) As ClientObjectList(Of AppInstance)
'Uso
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
)
Parâmetros
context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContextO contexto de runtime.
web
Tipo: Microsoft.SharePoint.Client.WebO objeto da web que contém as instâncias do aplicativo.
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientObjectList<AppInstance>
As instâncias do aplicativo.