SPWebInfo.AppInstanceId property
If this is an App Web, the instance ID of the App Instance. Otherwise, Guid.Empty.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property AppInstanceId As Guid
Get
'Usage
Dim instance As SPWebInfo
Dim value As Guid
value = instance.AppInstanceId
public Guid AppInstanceId { get; }
Property value
Type: System.Guid
Guid