Partager via


OrganizationServiceContextExtensions.RetrieveDependenciesForDelete Method (OrganizationServiceContext, Guid, Int32)

 

Applies To: Dynamics CRM 2015

Retrieves the dependencies for solution components that will prevent a solution component from being deleted. (Developer Extensions)

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

Syntax

public static EntityCollection RetrieveDependenciesForDelete(
    this OrganizationServiceContext context,
    Guid objectId,
    int componentType
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveDependenciesForDelete(
    OrganizationServiceContext^ context,
    Guid objectId,
    int componentType
)
static member RetrieveDependenciesForDelete : 
        context:OrganizationServiceContext *
        objectId:Guid *
        componentType:int -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveDependenciesForDelete (
    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 RetrieveDependenciesForDeleteRequest and RetrieveDependenciesForDeleteResponse 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