Share via


ServiceClient.Disassociate Method

Definition

Issues a Disassociate Request to Dataverse.

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
Public Sub Disassociate (entityName As String, entityId As Guid, relationship As Relationship, relatedEntities As EntityReferenceCollection)

Parameters

entityName
String

Entity Name to disassociate from

entityId
Guid

ID if Entity to disassociate from

relationship
Relationship

Relationship Name

relatedEntities
EntityReferenceCollection

Entities to disassociate

Implements

Applies to