ParseRequest Method

Parses an English question or request into a collection of commands or other response types for the attached domain.

Syntax

Set Response = Session.ParseRequest(Request)

Part Description
Session An object variable representing an existing Session object.
Request A string that is an English question, request, or command.
Response One of three Response objects, representing the responses by the end user, as follows:
  CommandResponse—An ordered sequence of commands, including SQL, that is executed to answer the end user's question.
  UserClarifyResponse—A clarification requiring end user input to complete processing the request.
  ErrorResponse—A parsing error. This type of response is returned if the user's query is not understood in the context of the current domain.

Applies To

Session

Remarks

The Microsoft English Query server parses a plain English question or request into a set of commands, which execute database queries and other types of responses. The client then executes the SQL statements (by dispatching the SQL to a database object) and displays the resulting data to the end user.

See Also

ClarifySpellingErrors Property, DomainInfo Property, InitDomain Method


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.