OrganizationServiceContextExtensions.DisassociateEntities Method (OrganizationServiceContext, EntityReference, EntityReference, String)


Applies To: Dynamics CRM 2015

Deprecated. Removes a link between two records in a many to many relationship. Use Disassociate. (Developer Extensions)

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


public static void DisassociateEntities(
    this OrganizationServiceContext context,
    EntityReference moniker1,
    EntityReference moniker2,
    string relationshipName
static void DisassociateEntities(
    OrganizationServiceContext^ context,
    EntityReference^ moniker1,
    EntityReference^ moniker2,
    String^ relationshipName
static member DisassociateEntities : 
        context:OrganizationServiceContext *
        moniker1:EntityReference *
        moniker2:EntityReference *
        relationshipName:string -> unit
Public Shared Sub DisassociateEntities (
    context As OrganizationServiceContext,
    moniker1 As EntityReference,
    moniker2 As EntityReference,
    relationshipName As String



This is a method wrapper for the DisassociateEntitiesRequest and DisassociateEntitiesResponse 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