OrganizationServiceContext.IsDeleted Method (Entity, Relationship, Entity)


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

Determines whether a relationship has been deleted.

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


public bool IsDeleted(
    Entity source,
    Relationship relationship,
    Entity target
Public Function IsDeleted (
    source As Entity,
    relationship As Relationship,
    target As Entity
) As Boolean


Return Value

Type: System.Boolean

Type: Boolean.
true if the specified entity is deleted; otherwise, false.

See Also

IsDeleted Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright