CrmServiceClient.GetActivitiesBy Kaedah (String, Guid, List, LogicalSearchOperator, List, Dictionary, Int32, Int32, String, String, Boolean, Guid)

Returns all Activities Related to a given Entity ID. Only Account, Contact and Opportunity entities are supported.

Ruang nama: Microsoft.Xrm.Tooling.Connector
Perhimpunan: Microsoft.Xrm.Tooling.Connector (dalam Microsoft.Xrm.Tooling.Connector.dll)

public Dictionary<string,Dictionary<string,Object>> GetActivitiesBy (
	string searchEntity,
	Guid entityId,
	List<string> fieldList,
	LogicalSearchOperator searchOperator,
	List<CrmSearchFilter> searchParameters,
	Dictionary<string,LogicalSortOrder> sortParameters,
	int pageCount,
	int pageNumber,
	string pageCookie,
	out string outPageCookie,
	out bool isMoreRecords,
	[OptionalAttribute] Guid batchId
)

Parameter

searchEntity

Type of Entity to search against

entityId

ID of the entity to search against.

fieldList

List of Field to return for the entity , null indicates all fields.

searchOperator

Search Operator to use

searchParameters

Filters responses based on search prams.

sortParameters

Sort order

pageCount

Number of Pages

pageNumber

Current Page number

pageCookie

inbound place holder cookie

outPageCookie

outbound place holder cookie

isMoreRecords

is there more records or not

batchId

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

Nilai Pulangan

Array of Activities

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Pelayan Windows 2000,Windows CE,Windows Server 2008,Windows 98 Edisi Kedua,Pocket PC,Telefon Pintar,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Tunjukkan: