ExecuteByIdUserQueryRequest Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Contains the data needed to execute a user query (saved view) that has the specified ID.
The ExecuteByIdUserQueryRequest class inherits from Request. It exposes the following members.
|ExecuteByIdUserQueryRequest||Initializes a new instance of the ExecuteByIdUserQueryRequest class.|
|EntityId||Gets or sets the ID of the user query (saved view) instance to be executed.|
Pass an instance of this class as the request parameter in the Execute method.
This message returns a String type that specifies the XML data containing the results of the query. This XML string is in the following format:
<resultset> + <result>result1</result><result>result2</result> + ... + </resultset>
The XML string returned from this method may contain multiple entity instances. If no instances are returned, the method returns an XML document for the entity type, with no data.
The XML string returned from this method does not contain elements for attributes where the value is null or contains empty strings. This improves performance by not sending more XML data than is necessary from the server to the client.
For an example of how to use this class, see the ExecuteByIdUserQuery message.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.