Partilhar via


FetchExpression.Query Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the FetchXML query string.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public string Query { get; set; }
<DataMemberAttribute>
Public Property Query As String

Property Value

Type: System.String

Type: String
The FetchXML query string.

Remarks

The query must specify entity names and a column set. If the column set includes attributes that are not valid for retrieve or that you do not have access to, they will be ignored.

See Also

FetchExpression Class
Microsoft.Xrm.Sdk.Query Namespace
Build queries with FetchXML
FetchXML schema

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright