Share via


SPWeb.ID Property

Gets the GUID for the site.

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

Syntax

Public ReadOnly Property ID As Guid
    Get

Dim instance As SPWeb
Dim value As Guid

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

Property Value

Type: System.Guid
A string that contains the GUID.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace