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. |
| RelatedEntityId# | String | Id of an entity to disassociate from the target. |
| RelatedEntityLogicalName# | String | Logical name of the entity to disassociate from the target. |