This topic has not yet been rated - Rate this topic

SPSite.ID Property

Gets the GUID that identifies the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableAttribute(Name = "Id")]
public Guid ID { get; }

Property Value

Type: System.Guid
A GUID that identifies the site collection.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ