Метод Web.GetAppInstancesByProductId
Retrieves all AppInstance objects installed on this site that are instances of the specified App.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function GetAppInstancesByProductId ( _
productId As Guid _
) As ClientObjectList(Of AppInstance)
'Применение
Dim instance As Web
Dim productId As Guid
Dim returnValue As ClientObjectList(Of AppInstance)
returnValue = instance.GetAppInstancesByProductId(productId)
public ClientObjectList<AppInstance> GetAppInstancesByProductId(
Guid productId
)
Параметры
productId
Тип: System.GuidThe app product identifier of the specified application.
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.ClientObjectList<AppInstance>
Application instance objects installed on this site that are instances of the specified App.