OrganizationServiceContextExtensions.CopyDynamicListToStatic Method (OrganizationServiceContext, Guid)

 

Applies To: Dynamics CRM 2015

Creates a static list from the specified dynamic list and adds the members that satisfy the dynamic list query criteria to the static list. (Developer Extensions)

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

Syntax

public static Guid CopyDynamicListToStatic(
    this OrganizationServiceContext context,
    Guid listId
)
public:
[ExtensionAttribute]
static Guid CopyDynamicListToStatic(
    OrganizationServiceContext^ context,
    Guid listId
)
static member CopyDynamicListToStatic : 
        context:OrganizationServiceContext *
        listId:Guid -> Guid
<ExtensionAttribute>
Public Shared Function CopyDynamicListToStatic (
    context As OrganizationServiceContext,
    listId As Guid
) As Guid

Parameters

  • listId
    Type: System.Guid

    The ID of the dynamic list. Required.

Return Value

Type: System.Guid

Returns a Guid, the created static list.

Remarks

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