Defines an Archive item.
For a list of all members of this type, see ArchiveItem Members.
System.Object
Sitecore.Data.Items.CustomItemBase
Sitecore.Data.Items.CustomItem
Sitecore.Data.Archiving.ArchiveItem
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
An archive is a standard database. When an item is archived, it is moved to this database. Afterwards the item is not present in the original database. A database may define an archive that is the target of archiving operations.
An item is a record in a database. Items are the basic building block of a Sitecore site. An item may represent any kind of information, e.g. a piece of content, a media file, a layout etc. Items always have a name and and ID that uniquely identifies the item within the database. Items have a template that defines which fields the item contains. An item represent a single version of piece of content is a single language.
The archived item is serialized into an XML string and stored in the ItemXml property. When restoring, this XML is deserialized and inserted into the database.
An ArchiveItem represents an item that has been archived. The archive item contains information about the original position of the item, the archive date, the user who archived the item and more.
To restore an item, use the Restore method or the RestoreItem method on the Archive object.
An item can be deleted from the archive using the Delete method.
Namespace: Sitecore.Data.Archiving
Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)
ArchiveItem Members | Sitecore.Data.Archiving Namespace