Share via


SPAppInstance.SiteId property

Gets the SharePoint site containing the SPWeb where this app instance is installed.

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

Syntax

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

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

Property value

Type: System.Guid
The SharePoint site.

See also

Reference

SPAppInstance class

SPAppInstance members

Microsoft.SharePoint.Administration namespace