OrganizationServiceContext.DeleteObject Method (Entity)
Applies To: Dynamics CRM 2015
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)
Syntax
public void DeleteObject(
Entity entity
)
public:
void DeleteObject(
Entity^ entity
)
member DeleteObject :
entity:Entity -> unit
Public Sub DeleteObject (
entity As Entity
)
Parameters
entity
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The tracked entity to be changed to the deleted state.
Remarks
All links to the specified entity are also marked deleted.
See Also
DeleteObject Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright