OrganizationServiceContextExtensions.SetRelated Method (OrganizationServiceContext, EntityReference()) 

Applies To: Dynamics CRM 2015

Deprecated. Creates a link between an opportunity and an account, contact, or competitor. Use Associate. (Developer Extensions)

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


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



This is a method wrapper for the SetRelatedRequest and SetRelatedResponse 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