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.Guid

    The 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.

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间