EntitySearchRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
EntitySearchRequest(String)
public:
EntitySearchRequest(System::String ^ entitySearchName);
public EntitySearchRequest (string entitySearchName);
new Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest : string -> Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest
Public Sub New (entitySearchName As String)
Parameters
- entitySearchName
- String
Applies to
EntitySearchRequest(String, Int32)
Initializes a new instance of the EntitySearchRequest class using the entity search name and maximum count of records to be returned.
public:
EntitySearchRequest(System::String ^ entitySearchName, int maxCount);
public EntitySearchRequest (string entitySearchName, int maxCount);
new Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest : string * int -> Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest
Public Sub New (entitySearchName As String, maxCount As Integer)
Parameters
- entitySearchName
- String
The Entity Search record name to use for searching records.
- maxCount
- Int32
The maximum count of the records to be returned. Specify 0 to return all the records.
Remarks
Use this constructor to limit the number of records returned as a result of the entity search.
Applies to
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.
public EntitySearchRequest (string entitySearchName, int pageCount, int pageNumber, string pageCookie = "");
new Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest : string * int * int * string -> Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch.EntitySearchRequest
Public Sub New (entitySearchName As String, pageCount As Integer, pageNumber As Integer, Optional pageCookie As String = "")
Parameters
- entitySearchName
- String
The Entity Search record name to use for searching records.
- pageCount
- Int32
The number of records to return per page.
- pageNumber
- Int32
The page number of the result set to return the data.
- pageCookie
- String
The current paging information. Specify String.Empty
to retrieve the first page of the result set.
Remarks
Use this constructor to return large datasets in pages for faster performance.