ADO.NET Provider for Microsoft Dynamics CRM

Build 26.0.9655

DisassociateRequest

Removes an association between two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC DisassociateRequest RelationshipName = 'accountleads_association', TargetId = '00000000-0000-0000-0000-000000000001', TargetLogicalName = 'account', RelatedEntityId = '00000000-0000-0000-0000-000000000002', RelatedEntityLogicalName = 'lead'

Input

Name Type Description
RelationshipName String Name of the relationship to be used for the disassociation.
TargetId String Id of the target to remove associations from.
TargetLogicalName String The logical name of the target to remove associations from.
RelatedEntitiesTempTable String Name of the temporary table containing related entities. Each row must have RelatedEntityId and RelatedEntityLogicalName fields.
RelatedEntityId String Required field in each RelatedEntitiesTempTable row. Specifies the Id of the entity to disassociate from the target.
RelatedEntityLogicalName String Required field in each RelatedEntitiesTempTable row. Specifies the logical name of the entity to disassociate from the target.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655