OrganizationServiceContextExtensions.QueryExpressionToFetchXml Method (OrganizationServiceContext, QueryBase)


Applies To: Dynamics CRM 2015

Converts a query represented as a QueryExpression class to the equivalent query represented as FetchXML. (Developer Extensions)

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


public static string QueryExpressionToFetchXml(
    this OrganizationServiceContext context,
    QueryBase query
static String^ QueryExpressionToFetchXml(
    OrganizationServiceContext^ context,
    QueryBase^ query
static member QueryExpressionToFetchXml : 
        context:OrganizationServiceContext *
        query:QueryBase -> string
Public Shared Function QueryExpressionToFetchXml (
    context As OrganizationServiceContext,
    query As QueryBase
) As String


Return Value

Type: System.String

Returns String.


This is a method wrapper for the QueryExpressionToFetchXmlRequest and QueryExpressionToFetchXmlResponse 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