Partager via


PropagateByExpressionRequest.QueryExpression Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Gets or sets the query criteria to select accounts, contacts, or leads for which activities are created. Required.

Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

'Declaration
Public Property QueryExpression As QueryBase
public QueryBase QueryExpression { get; set; }

Property Value

Type: QueryBase
The query criteria to select accounts, contacts, or leads for which activities are created.

Remarks

Assign an instance of the class FetchExpression, QueryExpression, or QueryByAttribute. The query must specify an entity name and column set. If the column set includes attributes where IsValidForRead is false, they are ignored and the message response contains no data for those attributes. For more information about field security, see How Field Security Can Be Used to Control Access to Field Values in Microsoft Dynamics CRM.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

PropagateByExpressionRequest Class
PropagateByExpressionRequest Members
Microsoft.Crm.Sdk.Messages Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.