OrganizationServiceContextDetachLink Method
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Removes the specified link from the list of links being tracked by the OrganizationServiceContext.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- source
-
Type:
Type: Entity. The source entity participating in the link to be marked for deletion.
- relationship
-
Type:
Type: Relationship. The name of the attribute or navigation property on the source entity that represents the source in the link between the source and the target.
- target
-
Type:
Type: Entity. The target entity involved in the link that is bound to the source object.
Return Value
Type:Type: Boolean.
true if the specified entity was detached; otherwise false.
Any link being tracked by the OrganizationServiceContext, regardless of its current state, can be detached.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright