OrganizationServiceContextExtensions.CopyMembersList Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Copies the members from the source list to the target list without creating duplicates. (Developer Extensions)

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

Syntax

public static void CopyMembersList(
    this OrganizationServiceContext context,
    Guid sourceListId,
    Guid targetListId
)
public:
[ExtensionAttribute]
static void CopyMembersList(
    OrganizationServiceContext^ context,
    Guid sourceListId,
    Guid targetListId
)
static member CopyMembersList : 
        context:OrganizationServiceContext *
        sourceListId:Guid *
        targetListId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub CopyMembersList (
    context As OrganizationServiceContext,
    sourceListId As Guid,
    targetListId As Guid
)

Parameters

  • sourceListId
    Type: System.Guid

    The ID of the source list. Required.

  • targetListId
    Type: System.Guid

    The ID of the target list. Required.

Remarks

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