共用方式為


Web.GetAppInstancesByProductId 方法

擷取所有AppInstance安裝在這個網站上的物件是指定的應用程式的執行個體。

命名空間:  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

    指定的應用程式的應用程式產品識別碼。

傳回值

類型:Microsoft.SharePoint.Client.ClientObjectList<AppInstance>
應用程式執行個體安裝在這個網站上的物件是指定的應用程式的執行個體。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間