OrganizationServiceContextDeleteObject Method

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Changes the state of the specified entity to be deleted in the OrganizationServiceContext.

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

No code example is currently available or this language may not be supported.

Parameters

entity
Type:

Type: Entity. The tracked entity to be changed to the deleted state.

recursive
Type:

Type: Boolean. true to specify entities to be deleted recursively, otherwise false.

All links to the specified entity are also marked deleted.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: