Content Studio Web Content Management System
SystemObject
SystemMarshalByRefObject
ContentStudioCSBase
ContentStudio.DocumentDocumentSystemBase
ContentStudio.DocumentDocumentBase
ContentStudio.DocumentVersionHistory
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
[This is preliminary documentation and is subject to change.]
This class handles the version history functionality built in to Content Studio.
Inheritance Hierarchy
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
The VersionHistory type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VersionHistory | Initializes a new instance of the VersionHistory class |
Methods
Name | Description | |
---|---|---|
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
GetVersionHistory(ConnectionId, SessionId, DocumentId) |
Retrieves a list of the version history of an element.
| |
GetVersionHistory(ConnectionId, SessionId, String, Int32, String) |
Retrieves a list of the version history of an element.
| |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
RemoveEntries(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)
| |
RemoveEntries(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)
| |
RestoreVersion(ConnectionId, SessionId, DocumentId, Int32) |
Restores a document from the history and copies its content into the writable content
| |
RestoreVersion(ConnectionId, SessionId, String, Int32, String) |
Restores a document from the history and copies its content into the writable content
| |
ToString | (Inherited from Object.) |
See Also