Share via


FetchExpression.Query Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property String^ Query {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute>]
member Query : string with 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

© 2016 Microsoft. All rights reserved. Copyright