Share via


SPPersistedObject.Id Property

Gets or sets the GUID that is associated with the object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Id As Guid
    Get
    Set
'Usage
Dim instance As SPPersistedObject
Dim value As Guid

value = instance.Id

instance.Id = value
public Guid Id { get; set; }

Property Value

Type: System.Guid
A unique identifier for the object.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace