Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
IDataProvider.IsSnapshotAvailable Method

Called by Lightstreamer Kernel through the Remote Server to know whether the Data Adapter, after a subscription for an Item, will send some Snapshot Item Events before sending the updates. An item Snapshot can be represented by zero, one or more Item Events, also depending on the item type. The decision whether to supply or not to supply Snapshot information is entirely up to the Data Adapter. 

The method should be nonblocking. The availability of the snapshot for an item should be a known architectural property. When the snapshot, though expected, cannot be obtained at subscription time, then it can only be considered as empty. 

 

C++
bool IsSnapshotAvailable(string itemName);
C#
bool IsSnapshotAvailable(string itemName);
Visual Basic
Function IsSnapshotAvailable(itemName As string) As bool
Parameters 
Description 
string itemName 
Name of an Item. 

True if Snapshot information will be sent for this Item before before the updates.

Exceptions 
Description 
in case the Data Adapter is unable to answer to the request.