Поделиться через


OrganizationServiceContextExtensions.Rollup Method (OrganizationServiceContext, EntityReference, QueryBase, Object)

 

Applies To: Dynamics CRM 2015

Retrieves all the records related to the specified record (account or contact). This applies to all activity entities, annotation (note), contract, incident (case), invoice, opportunity, quote and sales order (order) entities. (Developer Extensions)

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

Syntax

public static EntityCollection Rollup(
    this OrganizationServiceContext context,
    EntityReference target,
    QueryBase query,
    object rollupType
)
public:
[ExtensionAttribute]
static EntityCollection^ Rollup(
    OrganizationServiceContext^ context,
    EntityReference^ target,
    QueryBase^ query,
    Object^ rollupType
)
static member Rollup : 
        context:OrganizationServiceContext *
        target:EntityReference *
        query:QueryBase *
        rollupType:Object -> EntityCollection
<ExtensionAttribute>
Public Shared Function Rollup (
    context As OrganizationServiceContext,
    target As EntityReference,
    query As QueryBase,
    rollupType As Object
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

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