SPWeb.GetAppInstanceById method

Retrieves an AppInstance installed on this Site.

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

Syntax

'Declaration
Public Function GetAppInstanceById ( _
    appInstanceId As Guid _
) As SPAppInstance
'Usage
Dim instance As SPWeb
Dim appInstanceId As Guid
Dim returnValue As SPAppInstance

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

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPAppInstance

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace