Partager via


EntitySearchRequest Constructor (String, Int32)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public EntitySearchRequest(
    string entitySearchName,
    int maxCount
)
Public Sub New (
    entitySearchName As String,
    maxCount As Integer
)

Parameters

  • entitySearchName
    Type: System.String

    The Entity Search record name to use for searching records.

  • maxCount
    Type: System.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.

See Also

EntitySearchRequest Overload
EntitySearchRequest Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics.EntitySearch Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright