Share via


CrmServiceClient.GetEntityDataByFetchSearchEC Method (String, Guid)

 

Applies To: Dynamics CRM 2015

Searches for data based on a FetchXML query

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public EntityCollection GetEntityDataByFetchSearchEC(
    string fetchXml,
    Guid batchId = null
)
public:
EntityCollection^ GetEntityDataByFetchSearchEC(
    String^ fetchXml,
    Guid batchId = null
)
member GetEntityDataByFetchSearchEC : 
        fetchXml:string *
        batchId:Guid = null -> EntityCollection
Public Function GetEntityDataByFetchSearchEC (
    fetchXml As String,
    batchId As Guid
) As EntityCollection

Parameters

  • batchId
    Type: System.Guid

    Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

results as an entity collection or null

See Also

GetEntityDataByFetchSearchEC Overload
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright