Retains user context between questions for the Session object.
Syntax
Session.RetainContext = value
Part | Description |
---|---|
Session | An object variable that represents a Session object. |
value | A Boolean value that can set or return a value: True — User context is saved between questions. This is the default. False — User context is not saved between questions. |
Applies To
Remarks
This property is read-write. If the user context is saved, declarative statements that a user makes are retained, for example an active person is one who exercises five days a week. The most recent questions are also retained so that users can have conversations with the Microsoft English Query application, such as "Show sales," "Include product," and "Sort by month." Users can also converse with pronoun references and ellipses, for example, "Who is the oldest salesperson" and "How much did they make," or "Show sales in the Los Angeles branch," "New York").
See Also
ClarifySpellingErrors Property, DomainInfo Object, InitDomain Method, ParseRequest Method