MarkLogic XCC/.Net Library

RequestOptions.EffectivePointInTime Property

The point-in-time timestamp value for this object. If a point-in-time value is associated with a Request it will affect the view of the content the query will run against.

When a non-zero point-in-time is in effect, only read-only requests are allowed. Updates, which modify the state of the contentbase, are not allowed. Point-in-time queries are effectively running in the past and updates are always applied to the current state of the contentbase.

Note that some queries with an effective point-in-time may throw an XQueryException if deleted fragments needed to recreate the effective state have been dropped by a subsequent merge. The MarkLogic Server administrative interface contains controls to retain fragments newer than a specified timestamp.

Note that a parameter with the value zero is equivalent to null.

[Visual Basic]
Overridable Public Property EffectivePointInTime As UInt64
[C#]
public virtual ulong EffectivePointInTime {get; set;}

See Also

RequestOptions Class | Marklogic.Xcc Namespace