Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the GUID for the site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute(Name := "Id")> _
Public ReadOnly Property ID As Guid
Get
'Usage
Dim instance As SPWeb
Dim value As Guid
value = instance.ID
[ClientCallableAttribute(Name = "Id")]
public Guid ID { get; }
Property Value
Type: System.Guid
The globally unique identifier for the website.