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)

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