SPWeb.ID property

Gets the GUID for the site.

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

'Declaration
Public ReadOnly Property ID As Guid
	Get
'Usage
Dim instance As SPWeb
Dim value As Guid

value = instance.ID

Property value

Type: System.Guid
The globally unique identifier for the website.
Show: