Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
LiteralBasedProvider.GetDistinctSnapshotLength Method

Returns the maximum allowed length for a Snapshot of any Item that has been requested with publishing Mode DISTINCT.

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

The maximum allowed length for the Snapshot, as supplied in the Metadata Adapter configuration. In case no value has been supplied, a default value of 10 events is returned, which is thought to be enough to satisfy typical Client requests.