Share via


OrganizationServiceContextExtensions.FetchXmlToQueryExpression Method (OrganizationServiceContext, String)

 

Applies To: Dynamics CRM 2015

Converts a query in Fetch XML to a QueryExpression. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static QueryExpression FetchXmlToQueryExpression(
    this OrganizationServiceContext context,
    string fetchXml
)
public:
[ExtensionAttribute]
static QueryExpression^ FetchXmlToQueryExpression(
    OrganizationServiceContext^ context,
    String^ fetchXml
)
static member FetchXmlToQueryExpression : 
        context:OrganizationServiceContext *
        fetchXml:string -> QueryExpression
<ExtensionAttribute>
Public Shared Function FetchXmlToQueryExpression (
    context As OrganizationServiceContext,
    fetchXml As String
) As QueryExpression

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Query.QueryExpression

Returns QueryExpression.

Remarks

This is a method wrapper for the FetchXmlToQueryExpressionRequest and FetchXmlToQueryExpressionResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright