OrganizationServiceContextExtensions.QueryExpressionToFetchXml Method (OrganizationServiceContext, QueryBase)

 

Applies To: Dynamics CRM 2013

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)

Syntax

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

Parameters

Return Value

Type: System.String

Returns String.

Remarks

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 2013

Return to top