Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ExecuteByIdUserQueryRequest Class (CrmService)

banner art

[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.

ExecuteByIdUserQueryRequestInitializes a new instance of the ExecuteByIdUserQueryRequest class.

Instance PropertyDescription
EntityIdGets 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

See Also


© 2010 Microsoft Corporation. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.