TechNet
Expand All
The document is archived and information here might be outdated

Query Sample Code

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This section contains sample code that shows how to create queries.

In This Section

Use Condition Operators in a Query

Create a query expression that uses condition operators.

Build Query Expressions

Create query expressions to retrieve the same sets of records as these deprecated methods: RetrieveByPrincipal, RetrieveByOrganization, and RetrieveBySubContacts.

Use a Join to Retrieve Activities by Participant

Use a join to retrieve activities for a participant (systemuser).


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2016 Microsoft