OrganizationServiceContextExtensions.RetrieveRequiredComponents Method (OrganizationServiceContext, Guid, Int32)

 

Applies To: Dynamics CRM 2015

Retrieves all components that this component requires. (Developer Extensions)

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

Syntax

public static EntityCollection RetrieveRequiredComponents(
    this OrganizationServiceContext context,
    Guid objectId,
    int componentType
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveRequiredComponents(
    OrganizationServiceContext^ context,
    Guid objectId,
    int componentType
)
static member RetrieveRequiredComponents : 
        context:OrganizationServiceContext *
        objectId:Guid *
        componentType:int -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveRequiredComponents (
    context As OrganizationServiceContext,
    objectId As Guid,
    componentType As Integer
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

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