MarkLogic XCC/.Net Library

ResultSequence.Cached Property

Indicates whether this is a cached (detached) ResultSequence. A cached ResultSequence has fully buffered all the ResultItem data values and no longer depends on an active server connection. A cached ResultSequence may be accessed repeatedly and/or randomly.

Cached ResultSequence objects do not need to be closed because they no longer have any reference to a server connection. But if they are closed (by invoking Close(), then the buffered data values are released and it is no longer usable.

[Visual Basic]
Property Cached As Boolean
[C#]
bool Cached {get;}

See Also

ResultSequence Interface | Marklogic.Xcc Namespace