OrganizationServiceProxyDisassociate Method

 

Updated: November 29, 2016

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

Deletes a link between records.

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

No code example is currently available or this language may not be supported.

Parameters

entityName
Type:

Type: String. The logical name of the entity specified in the entityId parameter.

entityId
Type:

Type: Guid. The ID of the record from which the related records will be disassociated.

relationship
Type:

Type: Relationship. The name of the relationship to be used to remove the link.

relatedEntities
Type:

Type: EntityReferenceCollection. A collection of entity references (references to records) to be disassociated.

The core implementation of the Disassociate method. For more information, see IOrganizationService.Disassociate.

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: