SIFWorks ADK 2.0
Query Method (query, destinationId, queryOptions)
NamespacesEdustructures.SifWorksIZoneQuery(Query, String, AdkQueryOptions)

[This is preliminary documentation and is subject to change.]

Query a specific agent registered with this zone (a directed query). Directed queries are used primarily when the source of data is known because of a message previously received from that agent. For example, if your agent receives a SIF_Event and you wish to query the author of that event for additional data, a directed query is appropriate. In addition, some kinds of SIF Data Objects in SIF 1.5 and later may be designed to require agents to send directed queries if more than one agent in a zone typically offers support for the object. This is necessary because only one agent can be the authoritative provider of a given object type in each zone.
Declaration Syntax
C#Visual BasicVisual C++
string Query(
	Query query,
	string destinationId,
	AdkQueryOptions queryOptions
)
Function Query ( _
	query As Query, _
	destinationId As String, _
	queryOptions As AdkQueryOptions _
) As String
String^ Query (
	Query^ query, 
	String^ destinationId, 
	AdkQueryOptions queryOptions
)
Parameters
query (Query)
A Query object describing the parameters of the query, including optional conditions and field restrictions
destinationId (String)
The SourceId of the agent to which the SIF Request will be routed by the zone integration server
queryOptions (AdkQueryOptions)
Reserved for future use
Return Value
The SIF_MsgId of the SIF_Request that was sent to the zone.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10