Partager 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)

Syntax

Public Property Id As Guid
    Get
    Set

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 System.Guid object that identifies the object.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace