Partager via


OrganizationServiceContextExtensions.RetrieveDuplicates Method (OrganizationServiceContext, Entity, String, PagingInfo)

 

Applies To: Dynamics CRM 2015

Detects and retrieves duplicate records for the specified record, provided duplicate detection is enabled and there are published duplicate detection rules for the entity. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static EntityCollection RetrieveDuplicates(
    this OrganizationServiceContext context,
    Entity businessEntity,
    string matchingEntityName,
    PagingInfo pagingInfo
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveDuplicates(
    OrganizationServiceContext^ context,
    Entity^ businessEntity,
    String^ matchingEntityName,
    PagingInfo^ pagingInfo
)
static member RetrieveDuplicates : 
        context:OrganizationServiceContext *
        businessEntity:Entity *
        matchingEntityName:string *
        pagingInfo:PagingInfo -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveDuplicates (
    context As OrganizationServiceContext,
    businessEntity As Entity,
    matchingEntityName As String,
    pagingInfo As PagingInfo
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

This is a method wrapper for the RetrieveDuplicatesRequest and RetrieveDuplicatesResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright