Represents an event that occurs when a document is promoted or checked in as a major version.

You can instantiate a PromoteVersionEvent object in the following ways:

  • Call the GetInstance or FetchInstance method on the PromoteVersionEvent class.
  • Retrieve the AuditedEvents property on a Document object, and iterate the EventSet collection for instances of PromoteVersionEvent objects.
  • Retrieve a PromoteVersionEvent object from a PromoteVersionEventSet collection.

The following tables list the members exposed by IPromoteVersionEvent.

Public Properties

 NameDescription
Public propertyModifiedPropertiesA list of the symbolic names of the properties modified during a given event. Note that this property is only available when you retrieve the event object, for example, by calling the Factory FetchInstance method. This property is not available from the event object passed to the event action handler.
Public propertyOriginalObjectThe event's source object prior to the event. To get the source object at the time the event occurred, retrieve the SourceObject property. To compare the two states of the source object, fetch the properties of the object returned by the OriginalObject property and the SourceObject property.
Public propertyVersionSeriesIdFor a IPublishCompleteEvent object, the ID of the version series of the publication document. For other versioning-related events, the ID of the version series for the source object. Note that this property will have a valid value only when the event's source object is an instance of IDocument or its subclass.
Top

See Also