Partager via


EntitySearchRequest Class

Definition

Contains the data that is needed to create a request object for reusing an existing Entity Search definition in Unified Service Desk.

public ref class EntitySearchRequest
public class EntitySearchRequest
type EntitySearchRequest = class
Public Class EntitySearchRequest
Inheritance
EntitySearchRequest

Remarks

You must use one of the constructors to create a request object depending how you want the records to be returned. Creating a request object directly without using one of these three constructors is not supported.

Before using an entity search name in the request object, ensure that the entity search is already defined in Unified Service Desk on your CRM instance.

Constructors

EntitySearchRequest(String)
EntitySearchRequest(String, Int32)

Initializes a new instance of the EntitySearchRequest class using the entity search name and maximum count of records to be returned.

EntitySearchRequest(String, Int32, Int32, String)

Initializes a new instance of the EntitySearchRequest class using the using the entity search name, page count, page number, and paging cookie.

Properties

EntityName

Gets the entity name that the search applies to.

IsMultiPaged

Gets whether the search results contain multiple pages.

MaxCount

Gets the maximum count of the records to be returned.

PageCookie

Gets the current paging information.

PageCount

Gets the number of records to return per page.

PageNumber

Gets the page number of the result set to return the data.

Applies to