OrganizationServiceContext.DeleteLink Method (Entity, Relationship, Entity)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Changes the state of the link to deleted in the list of links being tracked by the OrganizationServiceContext.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
public void DeleteLink( Entity source, Relationship relationship, Entity target )
Public Sub DeleteLink ( source As Entity, relationship As Relationship, target As Entity )
Type: Entity. The source entity in the link to be marked for deletion.
Type: Relationship. The name of the attribute or navigation property on the source entity that is used to access the target entity.
Type: Entity. The target entity involved in the link that is bound to the source entity.
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright