Share via


PortalContext.SiteId Property

Gets the GUID of this portal site.

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

Syntax

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

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

Property Value

Type: System.Guid
A System.Guid object that contains the GUID of this portal site.

See Also

Reference

PortalContext Class

PortalContext Members

Microsoft.SharePoint.Portal Namespace