CrmServiceClient.Disassociate(String, Guid, Relationship, EntityReferenceCollection) CrmServiceClient.Disassociate(String, Guid, Relationship, EntityReferenceCollection) CrmServiceClient.Disassociate(String, Guid, Relationship, EntityReferenceCollection) Method

Definition

Issues a Disassociate Request to CRM.

public:
 virtual void Disassociate(System::String ^ entityName, Guid entityId, Microsoft::Xrm::Sdk::Relationship ^ relationship, Microsoft::Xrm::Sdk::EntityReferenceCollection ^ relatedEntities);
public void Disassociate (string entityName, Guid entityId, Microsoft.Xrm.Sdk.Relationship relationship, Microsoft.Xrm.Sdk.EntityReferenceCollection relatedEntities);
abstract member Disassociate : string * Guid * Microsoft.Xrm.Sdk.Relationship * Microsoft.Xrm.Sdk.EntityReferenceCollection -> unit
override this.Disassociate : string * Guid * Microsoft.Xrm.Sdk.Relationship * Microsoft.Xrm.Sdk.EntityReferenceCollection -> unit

Parameters

entityName
String String String

Entity Name to disassociate from

entityId
Guid Guid Guid

ID if Entity to disassociate from

relationship
Relationship Relationship Relationship

Relationship Name

Remarks

This method is a wrapper for IOrganizationService.Disassociate(String, Guid, Relationship, EntityReferenceCollection),

Applies to