Tuesday, March 12, 2013 11:05 AM
In Streaminsight 2.0 you could access a XML representation of a query by using the "Description" property. From my understanding, you could then use this XML to store and recreate a query at a later time.
My question is, can I get a XML (or something else) representation of a query that allows me to recreate it at runtime in a latter time while using the Reactive Framework of Streaminsight 2.1?
It seems that IQbservable has a "Expression" property that contains the expression that it represents, however I can't find a way to take that Expression and recreate a query with it, like say, using Streaminsight's 2.0 Application.CreateQueryTemplate(XmlReader).
My objective is to allow the user to create a query without having to stop the Streaminsight system.
Tuesday, March 12, 2013 3:23 PM
Not that I'm aware of.
However, there isn't any need for you to stop/restart StreamInsight for a new query. Just expose the management service and then connect to it. You'll be able to do whatever you need to do.
DevBiker (aka J Sawyer)
Microsoft MVP - Sql Server (StreamInsight)
If I answered your question, please mark as answer.
If my post was helpful, please mark as helpful.
- Marked As Answer by Rolando Pereira Tuesday, March 12, 2013 4:04 PM