Share via


PortalContext.SiteId Property

NOTE: This API is now obsolete.

Gets the GUID of this portal site.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public ReadOnly Property SiteId As Guid
    Get
'Usage
Dim instance As PortalContext
Dim value As Guid

value = instance.SiteId
[ObsoleteAttribute("This class is obsolete.")]
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