共用方式為


SPWeb.GetAppInstanceById method

擷取這個站台上安裝 AppInstance。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function GetAppInstanceById ( _
    appInstanceId As Guid _
) As SPAppInstance
'用途
Dim instance As SPWeb
Dim appInstanceId As Guid
Dim returnValue As SPAppInstance

returnValue = instance.GetAppInstanceById(appInstanceId)
public SPAppInstance GetAppInstanceById(
    Guid appInstanceId
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPAppInstance

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace