Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
MetadataProviderAdapter.GetDistinctSnapshotLength Method

Called by Lightstreamer Kernel through the Remote Server to ask for the maximum allowed length for a Snapshot of an Item that has been requested with publishing Mode DISTINCT. In this default implementation, 0 events are specified, so snapshot will not be managed.

C++
public: int GetDistinctSnapshotLength(string item);
C#
public virtual int GetDistinctSnapshotLength(string item);
Visual Basic
Public virtual Function GetDistinctSnapshotLength(item As string) As Integer
Parameters 
Description 
string item 
Not used. 

A value of 0, to mean that no events will be kept in order to satisfy snapshot requests.