Deli z drugimi prek


CrmServiceClient.GetEntityDataByFetchSearchEC Method

Definition

Overloads

GetEntityDataByFetchSearchEC(String, Guid)

Searches for data based on a FetchXML query

GetEntityDataByFetchSearchEC(String, Int32, Int32, String, String, Boolean, Guid)

Searches for data based on a FetchXML query

GetEntityDataByFetchSearchEC(String, Guid)

Searches for data based on a FetchXML query

public Microsoft.Xrm.Sdk.EntityCollection GetEntityDataByFetchSearchEC (string fetchXml, Guid batchId = default);
member this.GetEntityDataByFetchSearchEC : string * Guid -> Microsoft.Xrm.Sdk.EntityCollection
Public Function GetEntityDataByFetchSearchEC (fetchXml As String, Optional batchId As Guid = Nothing) As EntityCollection

Parameters

fetchXml
String

Fetch XML query data.

batchId
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

Returns

results as an entity collection or null

Applies to

GetEntityDataByFetchSearchEC(String, Int32, Int32, String, String, Boolean, Guid)

Searches for data based on a FetchXML query

public Microsoft.Xrm.Sdk.EntityCollection GetEntityDataByFetchSearchEC (string fetchXml, int pageCount, int pageNumber, string pageCookie, out string outPageCookie, out bool isMoreRecords, Guid batchId = default);
member this.GetEntityDataByFetchSearchEC : string * int * int * string * string * bool * Guid -> Microsoft.Xrm.Sdk.EntityCollection
Public Function GetEntityDataByFetchSearchEC (fetchXml As String, pageCount As Integer, pageNumber As Integer, pageCookie As String, ByRef outPageCookie As String, ByRef isMoreRecords As Boolean, Optional batchId As Guid = Nothing) As EntityCollection

Parameters

fetchXml
String

Fetch XML query data.

pageCount
Int32

Number records per Page

pageNumber
Int32

Current Page number

pageCookie
String

inbound place holder cookie

outPageCookie
String

outbound place holder cookie

isMoreRecords
Boolean

is there more records or not

batchId
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

Returns

results as an Entity Collection or null

Applies to