OrganizationServiceContextExtensions.RemoveRelated Method (OrganizationServiceContext, EntityReference )

 

Applies To: Dynamics CRM 2015

Deprecated. Removes the relationship between two records as defined by the target classes listed below. For example, remove the relationship between an invoice and a contact. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void RemoveRelated(
    this OrganizationServiceContext context,
    EntityReference[] target
)
public:
[ExtensionAttribute]
static void RemoveRelated(
    OrganizationServiceContext^ context,
    array<EntityReference^>^ target
)
static member RemoveRelated : 
        context:OrganizationServiceContext *
        target:EntityReference[] -> unit
<ExtensionAttribute>
Public Shared Sub RemoveRelated (
    context As OrganizationServiceContext,
    target As EntityReference()
)

Parameters

Remarks

This is a method wrapper for the RemoveRelatedRequest and RemoveRelatedResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright