SPWeb.AppInstanceId property

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)

Syntax

'Declaration
Public ReadOnly Property AppInstanceId As Guid
    Get
'Usage
Dim instance As SPWeb
Dim value As Guid

value = instance.AppInstanceId
public Guid AppInstanceId { get; }

Property value

Type: System.Guid

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace