Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
IMetadataProvider.ModeMayBeAllowed Method

Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item (for at least one User). The Metadata Adapter should ensure that conflicting Modes are not both allowed for the same Item. The conflicting Modes are MERGE, DISTINCT and COMMAND. 

This method runs in the Server thread pool specific for the Data Adapter that supplies the involved items, if defined. 

 

C++
bool ModeMayBeAllowed(string item, Mode mode);
C#
bool ModeMayBeAllowed(string item, Mode mode);
Visual Basic
Function ModeMayBeAllowed(item As string, mode As Mode) As bool
Parameters 
Description 
string item 
An Item Name. 
Mode mode 
A publishing Mode

True if the publishing Mode is allowed.