SPAppInstance.WebId property

Gets the identifier of the SharePoint web where this app is installed.

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

Syntax

'Declaration
Public ReadOnly Property WebId As Guid
    Get
'Usage
Dim instance As SPAppInstance
Dim value As Guid

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

Property value

Type: System.Guid
The identifier of the SPWeb.

See also

Reference

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace