VersionHistory Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This class handles the version history functionality built in to Content Studio.
Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    ContentStudioCSBase
      ContentStudio.DocumentDocumentSystemBase
        ContentStudio.DocumentDocumentBase
          ContentStudio.DocumentVersionHistory

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public sealed class VersionHistory : DocumentBase

The VersionHistory type exposes the following members.

Constructors

  NameDescription
Public methodVersionHistory
Initializes a new instance of the VersionHistory class
Top
Methods

  NameDescription
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodGetVersionHistory(ConnectionId, SessionId, DocumentId)
Retrieves a list of the version history of an element.
Public methodGetVersionHistory(ConnectionId, SessionId, String, Int32, String)
Retrieves a list of the version history of an element.
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Public methodRemoveEntries(ConnectionId, SessionId, DocumentId, DateTime, VersionHistoryRemoveOptions)
Removes any version from the history that is older than a certain date. If no date is supplied all versions are removed except for the last approved one and the editable content (if any)
Public methodRemoveEntries(ConnectionId, SessionId, String, Int32, String)
Removes any version from the history that is older than a certain date. If no date is supplied all versions are removed except for the last approved one and the editable content (if any)
Public methodRestoreVersion(ConnectionId, SessionId, DocumentId, Int32)
Restores a document from the history and copies its content into the writable content
Public methodRestoreVersion(ConnectionId, SessionId, String, Int32, String)
Restores a document from the history and copies its content into the writable content
Public methodToString (Inherited from Object.)
Top
See Also

Reference