SPWeb.AppInstanceId property

SharePoint 2013

The instance Id of the App Instance that this web represents. Guid.Empty if this is not an app web.

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

public Guid AppInstanceId { get; }

Property value

Type: System.Guid
Show: